Quantum error correction
Quantum error correction stores a logical state across physical qubits and reads collective error checks.
How it works
Encode
The bit-flip repetition example maps + to + .
Check
Measure and . Both codewords give +1 for each, so the checks reveal parity rather than or .
Correct
If both checks flip to −1, a single-error model points to . Apply it or track it in software.
Equation and quantities
- · Pauli Z on qubit i
- check result ±1 · parity syndrome
- · one bit flip
Worked example
A flip on qubit 1 gives (−,+), qubit 2 (−,−), and qubit 3 (+,−). With no flip the syndrome is (+,+).
Why it matters
Quantum error correction is the basis of logical memory and scalable fault-tolerant processing.
Limits and assumptions
The three-qubit bit-flip example cannot correct arbitrary single-qubit errors. The lattice in the supplied image represents a different class of code.
Why do parity checks preserve a logical superposition?
Each codeword has the same check value for a given error pattern, so the syndrome reveals no logical amplitudes.