/ quantum course Back to lab
PATHWAY PROGRESS0/27 passed

06 / Real-world computing · LESSON 15 / 27 · 20 MIN

Error correction and computing responsibly.

Tell logical qubits, syndrome measurements and practical limits apart.

Encoding a logical qubit

The three-qubit repetition code takes α|0⟩+β|1⟩ to α|000⟩+β|111⟩ using two CX gates. This is an entangled encoding and not three separate copies of an unknown qubit, so no-cloning is not violated.

Extracting a syndrome

The parity checks Z₀Z₁ and Z₁Z₂ show whether neighbouring bits disagree, without telling logical 000 from 111. A single X error can therefore be located and fixed. The plain bit-flip code gives no protection against arbitrary phase errors.

From prototype to real machines

General quantum error correction must guard against both bit and phase errors, extract syndromes repeatedly and use fault-tolerant gates, and it takes many physical qubits to support one reliable logical qubit. Judge claimed advantages by end-to-end costs and classical baselines, not by qubit counts alone.

LIVE EXPERIMENT / 1 OF 5

q0|0⟩q1|0⟩q2|0⟩HXX

Initialize the register

Every qubit starts in zero.

BasisAmplitudeProbability
|000⟩1.000100.0%

TEST YOURSELF

Lesson quiz

Get all 2 questions right to pass. Retry as often as you like.

0/2 answered

1. The repetition code protects against…
2. A syndrome measurement should reveal…

Sign in with email or a wallet to check your answers and keep your lesson progress in sync.

Your account

Sign in to pick up your progress on any device.

or

Wallet sign-in uses a free signature (EIP-4361) on whatever EVM network your wallet is on. No gas, no transaction.