Research Explained · Error Correction
Topological Quantum Memory
Eric Dennis, Alexei Kitaev, Andrew Landahl, and John Preskill
California Institute of Technology · 2002 · Difficulty ★★★★★
Reference
Dennis, E., Kitaev, A., Landahl, A., & Preskill, J. (2002). Topological quantum memory. Journal of Mathematical Physics, 43(9), 4452-4505. arXiv:quant-ph/0110143.
Preprint: arXiv:quant-ph/0110143
This page is an independent explanation. For exact wording, figures, and data, read the original paper.
The short version
This long paper analyzes the toric code and the surface code as quantum memories, proves that they have an error threshold, and relates the threshold to a phase transition in a model of statistical physics. It gave the theoretical foundation for the surface code as a practical code.
Key findings
- The toric code protects quantum information against errors if the error rate is below a threshold, and the logical error falls exponentially with the lattice size.
- For bit-flip errors with perfect syndrome measurements, the threshold is about 11 percent, related to the critical point of the two-dimensional random-bond Ising model.
- With faulty syndrome measurements, the problem maps to a three-dimensional random-plaquette gauge model, and the threshold is about 3 percent.
- An efficient decoding algorithm based on minimum-weight matching achieves thresholds close to these values.
Background: why this paper was written
Kitaev's toric code of 1997 stored qubits in a topological degree of freedom of a lattice on a torus, with errors appearing as pairs of point-like excitations. It was clear from the structure that logical errors required errors forming a chain that wrapped around the torus, and that the likelihood of such chains declined exponentially with the lattice size when the error rate was low. But a rigorous statement about the threshold was missing, and so was a method for decoding.
The four authors, at Caltech, combined expertise in quantum error correction and statistical physics. Dennis was a graduate student, Kitaev and Preskill senior researchers, and Landahl a postdoc. The long paper is a complete treatment of the subject.
What the researchers did
The code is the toric code on an L by L lattice, with qubits on edges and stabilizer checks on vertices and faces. For independent bit-flip errors with probability p, the syndrome is the set of vertices where the parity check fails. The decoder chooses the most likely error consistent with the syndrome. The authors show that the probability of a logical error is the probability that the true error and the guessed error differ by a nontrivial cycle.
The central insight is that this probability can be expressed as a partition function of a statistical mechanics model. The sum over error chains with given endpoints can be mapped to the partition function of the two-dimensional random-bond Ising model along a specific line in its phase diagram, the Nishimori line. The threshold for the code corresponds to the point where the ordered phase of the Ising model gives way to the disordered phase, which has been computed numerically as about 10.9 percent, and the authors derive rigorous bounds.
When the syndrome measurements are themselves faulty, repeated measurements are needed, and the problem becomes a three-dimensional one, where the time direction is added. The corresponding statistical model is a random-plaquette gauge theory, with a threshold at about 3.3 percent for equal error rates for qubits and measurements, found by numerical methods. The paper also describes an efficient decoding algorithm using minimum-weight perfect matching of the syndrome defects, based on Edmonds' algorithm, and shows that it reaches thresholds close to the optimum, and discusses the planar versions with boundaries.
Results
The paper proves that the topological codes have thresholds and gives their values for several noise models, using a connection with statistical physics.
The decoder based on minimum-weight matching is efficient, running in polynomial time, and has been used in all experiments with surface codes, with later improvements by Fowler and by Higgott for speed.
The thresholds of about 11 percent and 3 percent are upper bounds for idealized models, and the circuit-level threshold of about 1 percent found in later numerical work is the one that matters for hardware.
Key facts and numbers
| Item | Detail |
|---|---|
| Year and venue | 2002, Journal of Mathematical Physics |
| Threshold with perfect measurements | About 10.9 percent, linked to the random-bond Ising model |
| Threshold with faulty measurements | About 3.3 percent, linked to a random-plaquette gauge model |
| Decoder | Minimum-weight perfect matching |
| Practical circuit-level threshold | About 1 percent, from later numerical studies |
Limitations and caveats
The idealized models do not include the details of gates, such as the correlated errors from imperfect syndrome extraction circuits, and the practical thresholds are lower.
The proof that the threshold is positive relies on the structure of the noise being independent and local, and it does not directly address leakage and other correlated errors.
The matching decoder is not optimal and is relatively slow for real-time use at large distances, so faster decoders, such as union-find and neural decoders, have been developed.
Why it matters
The paper is the source of the idea that surface codes can work at error rates of a percent or more, which made them the leading architecture for superconducting qubits, and it is the origin of the minimum-weight matching decoders still used in experiments.
What happened next
The paper is the foundational reference for the theory of surface codes. The connection with statistical mechanics has been extended to other codes and noise models, and the minimum-weight matching decoder is implemented in software such as PyMatching, used by Google in the experiments of 2023 and 2024.
It also contributed to the notion that error correction thresholds are phase transitions, an idea used in the study of quantum codes and of measurement-induced phase transitions in many-body physics.
How to read the original paper
The paper is long, about 50 pages, and the first sections give an overview. The mapping to statistical mechanics is the most interesting part. A reader new to the subject can start with the introduction and the summary of results.
The surface code and syndrome measurement pages on this site connect with the ideas.
Original abstract (paraphrased)
The paper studies the toric code and related surface codes as quantum memories, and shows that a threshold exists for the error rate, below which arbitrarily long storage is possible. It relates error correction to statistical mechanics, mapping the maximum-likelihood decoding to the study of a random-bond Ising model and, with measurement errors, a random-plaquette gauge model, and gives numerical estimates of the thresholds.
Frequently asked questions
What does the paper prove?
That the toric code and surface code have an error threshold, below which stored quantum information can be protected for arbitrarily long, and it computes the threshold for several noise models.
What is the link to statistical physics?
The probability of a logical error maps to a partition function of a disordered spin model, and the error threshold corresponds to a phase transition of that model.
Is the decoder still used?
Yes. Minimum-weight matching is the standard decoder for surface codes, in software such as PyMatching.
Keep exploring
- Algorithm: Quantum Error-Correcting Codes (Shor Code, Surface Code)
- Hardware: Google Willow
- Dictionary: Surface Code
- Dictionary: Threshold Theorem
- Dictionary: Syndrome Measurement
- Dictionary: Code Distance
- 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.