KnowledgeCookies logo Understanding the language of quantum science
QPicDepict / Noise and error correction

Quantum error correction

Quantum error correction stores a logical state across physical qubits and reads collective error checks.

Quantum error correction infographic. A reading guide and explanation follow.
Follow the sectors around the central lattice, from physical errors to syndromes, decoding and thresholds. Artwork from the supplied QPicDepict collection. Open full-size image Download PNG

How it works

  1. Encode

    The bit-flip repetition example maps α\alpha∣0⟩\lvert 0\rangle + β\beta∣1⟩\lvert 1\rangle to α\alpha∣000⟩\lvert 000\rangle + β\beta∣111⟩\lvert 111\rangle.

  2. Check

    Measure Z1Z_{1}Z2Z_{2} and Z2Z_{2}Z3Z_{3}. Both codewords give +1 for each, so the checks reveal parity rather than α\alpha or β\beta.

  3. Correct

    If both checks flip to −1, a single-error model points to X2X_{2}. Apply it or track it in software.

Equation and quantities

Z1Z2,Z2Z3Z_1Z_2,\quad Z_2Z_3

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.

Related reading