Encode a logical qubit across 3 physical qubits. Introduce errors. Use syndrome measurements to find which qubit broke β without looking at the logical value. Then discover how the Shor 9-qubit code handles both error types.
Can't copy qubits. Measuring collapses them. How do you check for errors without destroying the quantum computation?
Encode |Οβ© as |000β© or |111β© using CNOT gates. Any single bit-flip error takes |000β© β |001β©, |010β©, or |100β©.
Measure ancilla pairs (q0βq1) and (q1βq2). Results reveal error location without revealing the logical value. Elegant!
Corrects both bit-flip AND phase-flip errors using 9 physical qubits. Three groups of three, with outer phase protection.
| Syndrome (a1,a2) | Meaning | Error on | Correction |
|---|---|---|---|
| 0, 0 | All agree | None | I (do nothing) |
| 0, 1 | q1β q2 | q2 | X on q2 |
| 1, 0 | q0β q1 | q0 | X on q0 |
| 1, 1 | q0β q1 and q1β q2 | q1 | X on q1 |
You understand the most elegant trick in quantum computing β syndrome measurement!
Syndrome measurement reveals which qubit is broken without collapsing the logical quantum state. It answers: "Is qubit A the same as qubit B?" without asking "What value do A and B have?"
3-qubit code: 3Γ overhead. Shor code: 9Γ. Surface code: ~1,000Γ. Reducing this overhead is the central engineering challenge of fault-tolerant quantum computing.
If physical error rate < threshold (~1% for surface code), adding more error correction qubits exponentially suppresses logical errors. Below threshold = fault tolerant computation is possible.
You now understand the full hardware stack: qubit physics (Q13), decoherence (Q14), and error correction (Q15). Sessions 6-8 cover applications: chemistry, optimisation, cryptography, and the quantum future.