Research Explained · Error Correction
Scheme for Reducing Decoherence in Quantum Computer Memory
Peter W. Shor
AT&T Bell Laboratories · 1995 · Difficulty ★★★☆☆
Reference
Shor, P. W. (1995). Scheme for reducing decoherence in quantum computer memory. Physical Review A, 52(4), R2493-R2496.
This page is an independent explanation. For exact wording, figures, and data, read the original paper.
The short version
Peter Shor shows that quantum information can be protected from errors by encoding one qubit into nine. The paper answered the main objection to quantum computing, that quantum states are too fragile to survive long computations.
Key findings
- One qubit can be encoded into nine qubits so that any error on a single qubit, not just a bit flip, can be detected and corrected.
- The code combines a three-qubit code against bit flips with a three-qubit code against phase flips.
- Measuring parity checks reveals which error occurred without revealing the encoded state, so the information survives.
- Continuous errors are reduced to a discrete set of possibilities by the act of checking, so a finite set of corrections is enough.
Background: why this paper was written
In the early 1990s there were two strong arguments against building a quantum computer. The first was the no-cloning theorem: classical error correction works by making copies of data and taking a majority vote, and quantum states cannot be copied. The second was that quantum errors are continuous. A qubit can drift by any small angle, and it seemed that correcting such errors would require infinite precision, as in an analog computer.
Rolf Landauer and others argued that decoherence would limit any quantum computation to a few steps. Shor's factoring algorithm, announced in 1994, made the stakes higher. If the algorithm could not be run on a noisy machine, then the speedup would be only theoretical. This created an urgent need for a method that could protect quantum information.
What the researchers did
The construction starts from two simple ideas. To protect against bit flips, encode 0 as 000 and 1 as 111, and fix errors by majority vote, without measuring the qubits themselves. Instead, measure whether neighbors agree, which indicates an error without revealing the value. To protect against phase flips, apply the same idea in a rotated basis, using plus and minus states.
Shor concatenates the two. He first encodes the qubit in three qubits to protect against phase flips, and then encodes each of those three in three qubits to protect against bit flips, giving nine in total. Any single-qubit error, whether a bit flip, a phase flip, or both, can be detected by measuring eight parity checks and corrected by applying the appropriate gate.
The paper also explains why continuous errors are not a problem. Any error on a single qubit can be written as a combination of four basic operations: no error, a bit flip, a phase flip, and both. Measuring the parity checks projects the state onto one of these cases, and the correction then removes the error exactly. The measurement thus converts a continuous error into a discrete one, which is why finite precision suffices.
Results
The nine-qubit code corrects any error that affects a single qubit, and it does so without learning the encoded state.
The result demonstrated that error correction is possible in principle for quantum information, which changed expectations about the field.
Andrew Steane independently found a seven-qubit code in 1996, and Calderbank and Shor, and Steane, developed the CSS construction that generalizes both. Within two years, threshold theorems showed that arbitrarily long quantum computations are possible if error rates are below a threshold.
Key facts and numbers
| Item | Detail |
|---|---|
| Physical qubits | Nine to protect one logical qubit against any single-qubit error |
| Syndrome checks | Eight parity measurements |
| Smallest perfect code | Five qubits (found by Bennett et al. and by Laflamme et al. in 1996) |
| Independent discovery | Steane's seven-qubit code, 1996 |
| Follow-up theorem | Threshold theorems, 1996 to 1998 |
Limitations and caveats
The code corrects only one error at a time, and it assumes that the correction operations and syndrome measurements are themselves perfect, which a real computer cannot guarantee.
Nine physical qubits for one logical qubit is a high overhead, and the construction is not the most efficient. The five-qubit code is the smallest that corrects an arbitrary single error.
The paper addresses memory, not computation. Performing gates on encoded qubits without spreading errors needed the fault-tolerance techniques developed afterward.
Why it matters
The paper started the field of quantum error correction, which underlies every roadmap to a fault-tolerant quantum computer, including Google's surface code experiments and IBM's plan for the Starling machine.
What happened next
The stabilizer formalism of Gottesman in 1996 and 1997 unified the codes, and the surface code of Kitaev and later Fowler and coauthors became the leading practical design. Experimental demonstrations of repetition codes and surface codes followed over the 2010s and 2020s.
The work also changed how the field was regarded. Before 1995, a quantum computer seemed like a delicate experiment, and afterward it looked like an engineering challenge with a known route to a solution.
How to read the original paper
The paper is four pages. Focus on the encoding of the state in nine qubits and the argument for why a general error reduces to a few cases.
Read the quantum error correction and stabilizer code pages on this site for the modern formalism that makes the construction easier to see.
Original abstract (paraphrased)
A scheme is presented for storing one qubit in nine qubits so that the original state can be recovered after an arbitrary error on any one of the nine qubits. The scheme uses the redundancy of the code and measurement of syndrome information, and it is argued that it can be applied repeatedly to reduce the effect of decoherence in a quantum memory.
Frequently asked questions
What did Shor's 1995 paper show?
That quantum information can be protected from errors by encoding a qubit in nine qubits and measuring parity checks, so errors can be corrected without measuring the data.
How can you correct a quantum error if you cannot copy a qubit?
By spreading information across entangled qubits and measuring parities that reveal errors but not the encoded state.
Is the nine-qubit code used today?
Not in practice. Modern machines use codes such as the surface code, but the nine-qubit code established the principle.
Keep exploring
- Algorithm: Quantum Error-Correcting Codes (Shor Code, Surface Code)
- Hardware: Google Willow
- Dictionary: Stabilizer Code
- Dictionary: Logical Qubit
- Dictionary: Syndrome Measurement
- Dictionary: Fault Tolerance
- Industry: Quantum Computing for Cybersecurity
Explanations on this page summarize published work for education (last reviewed September 30, 2026). Numbers are taken from the cited paper or from widely reported follow-up work, and later results may have updated or challenged them. Check the reference above before citing.