/ quantum courseBack to lab
PATHWAY PROGRESS0/27 passed

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

Error correction and responsible computing.

Distinguish logical qubits, syndrome measurements and practical limits.

Encode a logical qubit

The three-qubit repetition code maps α|0⟩+β|1⟩ to α|000⟩+β|111⟩ using two CX gates. This is an entangled encoding, not three independent copies of an unknown qubit, so it does not violate no-cloning.

Extract a syndrome

Parity checks Z₀Z₁ and Z₁Z₂ reveal whether neighboring bits disagree without distinguishing logical 000 from 111. A single X error can be located and corrected. The simple bit-flip code does not protect against arbitrary phase errors.

From prototype to hardware

General quantum error correction requires protection against bit and phase errors, repeated syndrome extraction and fault-tolerant gates. Many physical qubits support one reliable logical qubit. Evaluate claimed advantages with end-to-end costs and classical baselines, not qubit counts alone.

CHECK YOUR UNDERSTANDING

Lesson quiz

Answer all 2 questions correctly. Unlimited retries.

0/2 answered

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

Checking your account…