06 / Real-world computing · LESSON 15 / 27 · 20 MIN
Error correction and computing responsibly.
Tell logical qubits, syndrome measurements and practical limits apart.
α|0⟩+β|1⟩ → α|000⟩+β|111⟩ Measure parity, not the logical amplitudes
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
Initialize the register
Every qubit starts in zero.
TEST YOURSELF
Lesson quiz
Get all 2 questions right to pass. Retry as often as you like.
0/2 answered
Sign in with email or a wallet to check your answers and keep your lesson progress in sync.