Error Correction

Quantum Error Correction

Methods that protect quantum information by spreading it over many physical qubits so errors can be detected and undone.

Definition

Quantum error correction, or QEC, is a family of techniques that encode a logical qubit into many physical qubits and repeatedly measure parity checks so that errors can be detected and corrected without measuring the stored information. It is considered essential for running long quantum algorithms on noisy hardware.

In depth

The idea was thought impossible by many in the early 1990s, since quantum states cannot be copied and measurement disturbs them. In 1995 Peter Shor published a nine-qubit code and Andrew Steane a seven-qubit code, showing that errors could be detected through parity measurements that reveal the error but not the data. The simplest teaching example is the three-qubit bit-flip code, which you can try in the interactive widgets in our error-correction lesson.

The logic of scaling is the threshold theorem. If each physical operation fails with a probability below a threshold, then adding more physical qubits to the code reduces the logical error rate exponentially in the code distance. Google Quantum AI reported in 2024, in a paper whose abstract I opened, a distance-7 surface-code memory on a 105-qubit processor with a logical error of 0.143 percent per cycle, and an error suppression factor of 2.14 as the distance grew. That was an experimental demonstration of the below-threshold regime.

The overhead is large. A distance-7 surface-code memory uses roughly a hundred physical qubits for one logical qubit, and each logical operation involves many physical operations plus real-time decoding. IBM's published roadmap states a goal of 200 logical qubits and 100 million operations by 2029 using qLDPC codes, which it says cut error-correction overhead by about 90 percent.

Technical Definition

A stabilizer code defines a set of commuting Pauli operators, the stabilizers, whose joint +1 eigenspace is the code space. Measuring the stabilizers yields a syndrome that reveals which error occurred without revealing the encoded state. A classical decoder interprets the syndrome and chooses a correction. If the physical error rate is below a threshold, increasing the code size reduces the logical error rate exponentially.

Visual Explanation: An Analogy

Imagine sending a secret message by writing it three times on three separate postcards. If one postcard is smudged, the other two let the recipient see what it should say. Quantum error correction does the same thing, with the extra challenge that it must find the smudge without reading the message.

Key facts

ItemDetail
First codesShor (9 qubits) and Steane (7 qubits), 1995
Core ideaMeasure parities, not data
Google 2024Distance-7 memory, 0.143% logical error per cycle, suppression 2.14
OverheadRoughly 100 physical qubits per logical qubit at distance 7

Where the idea comes from

Quantum error correction was introduced in 1995 by Peter Shor and Andrew Steane. The threshold theorem was developed by Aharonov and Ben-Or, Kitaev, and Knill, Laflamme and Zurek in the late 1990s.

Real-World Use Cases

  • Building reliable logical qubits for long algorithms such as Shor's
  • Enabling fault-tolerant quantum computation
  • Suppressing errors in quantum memories and networks

How it differs from related ideas

  • Classical error correction copies bits, while quantum error correction cannot copy states and uses entanglement and syndromes instead.
  • Error mitigation reduces the effect of noise on results without encoding, while error correction removes errors during the computation.

Common Misconceptions

  • QEC does not copy the quantum state, which the no-cloning theorem forbids. It spreads the information through entanglement.
  • QEC does not remove errors for free. It costs many physical qubits and many extra operations for each logical qubit.

Frequently asked questions

Why is it needed?

Raw qubits make errors about once per hundred to ten thousand operations, far too often for long algorithms.

What is a logical qubit?

An error-protected qubit built from many physical qubits.

Has it been demonstrated?

Yes, in small memory experiments. Full fault-tolerant computation at scale has not been demonstrated.

Related Terms

Learn it in a lesson

← Back to the dictionary