Overview
Quantum error correction shows that a code can undo errors provided the encoding, the syndrome measurement and the recovery are themselves perfect. Fault tolerance removes that proviso. It is the set of methods for building every operation of a computation, including error correction, out of unreliable parts in such a way that the computation still succeeds.
The central result is the threshold theorem: if the noise per elementary operation is below a constant, an arbitrarily long computation can be made arbitrarily reliable at a cost that grows only polylogarithmically. The idea of fault-tolerant design is due to Shor; the threshold was established by Aharonov and Ben-Or, Kitaev and Knill, Laflamme and Zurek.
This page covers the framework and the theorem. How logical gates are obtained is the subject of logical gates and magic state distillation; codes and decoders have their own pages (surface codes, quantum LDPC codes, decoders).
Intuition
Two-qubit gates spread errors. A CNOT copies an error from its control to its target and a error from its target to its control. A syndrome measurement couples one ancilla to several data qubits, so a single fault on the ancilla, half-way through the measurement, can leave errors on two or more data qubits. A code of distance 3 corrects one error, not two, so a careless measurement circuit destroys the protection the code was supposed to give.
Fault tolerance is therefore a discipline of containment. Count faults in the circuit and errors in the state, and design each piece of the circuit so that a small number of faults cannot become a larger number of errors in any one code block. If this holds, a logical failure needs at least two faults in the same small piece of circuit, which has probability of order rather than . Whether this is an improvement depends on the constant in front: exactly when . That constant is the threshold, and repeating the construction on top of itself squares the improvement each time.
The lesson Fault-tolerant computation works through error propagation and a flagged measurement circuit by hand.
Prerequisites
Stabilizer codes and the propagation of Pauli operators through Clifford gates; the notion of code distance from quantum error correction.
Mathematical Definitions
Fix a code that corrects errors, for example an code with .
Locations, faults, errors. A circuit is divided into locations: each state preparation, gate, measurement and idle step of one qubit during one time step. A fault is a location that does not act as specified; in the adversarial setting a faulty location may apply any operation to the qubits it touches. An error is the resulting deviation of the state, described as an operator acting on some qubits of a block. Faults are counted in the circuit, errors in the state: one fault can create several errors because later gates spread it. A block has at most errors if its state is obtained from a code state by an operator supported on at most of its qubits.
Gadgets. A gadget is a circuit on encoded blocks, possibly with ancillas, that realises one ideal operation: a logical gate, a logical preparation, a logical measurement, or error correction (EC). A family of gadgets is fault tolerant when the following hold whenever the gadget contains faults and its input blocks contain errors in total.
- Gate. If , every output block has at most errors, and ideally decoding the output gives the same state as ideally decoding the input and applying the ideal gate.
- Error correction. If , the output is within errors of the code space, whatever the input. If in addition , ideally decoding the output gives the same state as ideally decoding the input.
- Preparation. If , the output is within errors of the ideal encoded state.
- Measurement. If , the outcome distribution is that of the ideal measurement on the ideally decoded input.
Extended rectangles. In a circuit built by replacing every location with its gadget and placing an EC gadget after every gate gadget, the extended rectangle (ex-Rec) of a gate is the gate gadget together with the EC gadgets immediately before and after it. An ex-Rec is good if it contains at most faults and bad otherwise. Consecutive ex-Recs overlap in an EC gadget, which is why faults are counted in ex-Recs and not in gadgets alone.
These conditions are the ones used by Aliferis, Gottesman and Preskill, stated there for , and in the form above in the lecture notes of Gottesman. The idea of designing every operation so that single faults stay correctable is due to Shor.
Let a circuit have a finite set of locations (preparations, gates, measurements and idle steps). A noise model selects a random set of faulty locations; the non-faulty locations act ideally and the faulty ones act in an arbitrary way, possibly chosen by an adversary who knows and the circuit.
The noise is local stochastic with rate , , if
Nothing else is assumed: faults at different locations may be correlated, and the operation applied at the faulty locations may be a joint operation on all of them and on an environment.
Independent noise, in which each location fails with probability independently of the others, is a special case, since then . Independent Pauli noise such as the depolarizing channel is a further special case in which the faulty operation is a random Pauli operator. The name and definition follow Gottesman. Aliferis, Gottesman and Preskill state their threshold theorem for adversarial independent stochastic noise and note that the proof needs only that every set of faulty locations has probability at most .
The model is stochastic: it speaks of a probability that a location is faulty. Noise that acts coherently at every location, such as a small systematic over-rotation, is described instead by a bound on an operator norm of the deviation; see fault-tolerant quantum computing.
Level reduction. Replace every location of an ideal circuit by its gadget and insert error correction after every gate; this is a level-1 simulation. If every extended rectangle of the simulation is good, the simulation reproduces the ideal circuit exactly. In general each extended rectangle can be replaced by the ideal location it simulates, declared faulty exactly when the rectangle is bad, and the resulting noise on the ideal circuit is again local stochastic, with a smaller rate (Aliferis, Gottesman and Preskill). Applying the replacement recursively is concatenation.
Theorems
There is a constant with the following property. Let be an ideal quantum circuit with locations whose output is a classical bit string, and let . There is a circuit with
locations such that, when is run under any local stochastic noise of rate , the distribution of its output is within total variation distance of the output distribution of .
The constant depends on the gate set, the code and the gadgets used in the construction, and on the noise model; it does not depend on or .
Attribution. Shor showed how to compute fault-tolerantly when the error rate falls polylogarithmically with the size of the computation. A constant threshold was then established independently, by concatenating codes, by Aharonov and Ben-Or, by Kitaev and by Knill, Laflamme and Zurek (summary, detailed version). Aliferis, Gottesman and Preskill gave a proof that applies to codes of distance 3 and to the adversarial noise model above, with the explicit bound for their gadgets under independent stochastic noise.
Proof. No proof record is attached. The argument, by level reduction for concatenated codes, is given in full by Aliferis, Gottesman and Preskill; the recursion at its centre and its solution are the record logical error of a concatenated code.
- Noise is local stochastic with rate per location (the theorem has other versions for other noise models; this is the one stated here).
- Gates can be applied in parallel, so that every qubit can be error-corrected at a rate independent of the size of the computation.
- Fresh ancilla qubits in a standard state can be supplied at any time during the computation.
- Measurement outcomes can be processed by classical computation that is noiseless and fast compared with the quantum gate time.
- Two-qubit gates may act between any pair of qubits. Versions with nearest-neighbour gates in a fixed geometry hold with a smaller threshold.
- The error rate does not grow with the size of the computation.
Here is the rate of the effective local stochastic noise acting on the logical circuit after levels of concatenation. For the bound falls doubly exponentially in , while the number of physical locations per logical location grows only exponentially, as for a constant equal to the size of the largest gadget. Reaching a target therefore takes levels and an overhead polylogarithmic in , which is the content of the threshold theorem.
For a code correcting errors the same argument gives the exponent in place of , with replaced by the number of sets of locations and . The constant obtained by counting all pairs is pessimistic; Aliferis, Gottesman and Preskill count only the malignant pairs that actually cause a logical fault, which is how they obtain their numerical threshold bound.
- Fault-tolerant gadgets for a code correcting one error, applied recursively times.
- Level reduction holds: a level- location is faulty only if its extended rectangle contains at least two faulty level- locations, so that with the largest number of pairs of locations in an extended rectangle.
- Local stochastic noise of rate on physical locations, and .
Proof · Solution of the concatenation recursion and the resulting overhead
What is assumed. The level-reduction lemma of Aliferis, Gottesman and Preskill: in a circuit built from fault-tolerant gadgets for a code correcting one error, every extended rectangle may be replaced by the ideal location it simulates, and that location is declared faulty exactly when the extended rectangle is bad, that is, contains two or more faults. Together with the counting of bad extended rectangles (their Lemma 2, stated for independent stochastic faults), this gives that if the faults of the original circuit occur with rate , the faulty locations of the reduced circuit occur with rate at most , where bounds the number of pairs of locations in one extended rectangle: a given extended rectangle is bad only if some pair of its locations is faulty, and by the union bound over at most pairs this has probability at most . Extending this to the product bound required of local stochastic noise needs care, because consecutive extended rectangles share an error-correction gadget; that is the technical core of the cited paper and is not reproved here.
The recursion. Put and . We show by induction that . For this is an equality. If it holds for , then
The overhead. Let be the largest number of locations in the gadget that replaces one location, including its error correction. A level- simulation of a circuit with locations has at most physical locations. To make the whole computation fail with probability at most it suffices, by the union bound over the logical locations, that , that is
Taking the smallest such (when is needed at all) gives , and therefore
which is polylogarithmic in for fixed . The exponent is large for realistic gadgets, and the bound diverges as .
Fault-tolerant syndrome extraction
Measuring a stabilizer of weight with one bare ancilla is not fault tolerant in general. Four standard remedies are known.
- Shor extraction. Couple each data qubit to a different qubit of a verified -qubit cat state, so that no ancilla qubit touches two data qubits, and repeat the measurement to guard against wrong outcomes (Shor; DiVincenzo and Shor).
- Steane extraction. Prepare an ancilla block in an encoded state of the same CSS code, apply a transversal CNOT between data and ancilla, and measure the ancilla block; all syndrome bits of one type are obtained at once (Steane).
- Knill extraction. Teleport the data block through an encoded Bell pair; the Bell measurement yields the syndrome and the teleported block carries only the errors of the fresh ancilla (Knill).
- Flag qubits. Keep a single ancilla and add one or two flag qubits coupled to it so that any single fault that would spread to a high-weight data error also flips a flag; the decoder then uses the flag outcome. Two extra qubits suffice for a range of distance-3 codes (Chao and Reichardt), and the method extends to codes of arbitrary distance (Chamberland and Beverland).
Topological codes use a fifth option: with low-weight local checks and a suitable gate order, the errors a single ancilla fault can cause do not reduce the effective distance, and repeated bare-ancilla measurement is decoded in space and time together (Dennis, Kitaev, Landahl and Preskill; see surface codes).
Overhead
Concatenation gives an overhead polylogarithmic in the size of the computation, in both qubits and time. The qubit overhead can be made constant. Gottesman showed that with quantum LDPC codes of constant rate, the ratio of physical to logical qubits tends to a constant for large computations, given codes with an efficient decoder that tolerates faulty syndromes. Fawzi, Grospellier and Leverrier proved that quantum expander codes meet that requirement. In these constructions the logical gates are executed a few at a time, so the time overhead is polynomial. Yamasaki and Koashi obtained constant space overhead with quasi-polylogarithmic time overhead by concatenating quantum Hamming codes of growing size.
Worked Examples
How many levels of concatenation
Take the bound of the concatenation record with an assumed threshold and a physical rate , so . These two numbers are chosen for arithmetic convenience, not taken from a device or a proof. Then
A computation with logical locations and failure budget needs : three levels fall short and four suffice. With the seven-qubit Steane code each level multiplies the number of data qubits by 7, so one logical qubit occupies physical data qubits, before counting the ancillas used for syndrome extraction. The formula for the number of levels, , gives , in agreement.
Halving the margin changes the answer sharply. At , , so and , that is data qubits per logical qubit.
One fault, two errors
Measure the stabilizer with a single ancilla prepared in and four CNOT gates controlled on the ancilla, applied to data qubits 1, 2, 3, 4 in that order. An fault on the ancilla between the second and third CNOT is copied by the two remaining gates onto data qubits 3 and 4. One fault has produced the weight-2 error , and it does not change the measured outcome. In a distance-3 code this error is in general miscorrected into a logical error. A flag qubit coupled to the ancilla by one CNOT after the first data gate and one before the last is flipped by exactly this fault, which tells the decoder to apply the correction for .
Limitations and Common Pitfalls
- "The threshold" is not one number. The theorem asserts that a positive threshold exists. Proven lower bounds are small: for concatenated distance-3 codes (Aliferis, Gottesman and Preskill) and with the Bacon–Shor code (Aliferis and Cross), both for adversarial stochastic noise. Numerical estimates for particular schemes are much higher: Knill reported evidence for accurate computation at error rates above 3% per gate with excessive resources, which fall rapidly as the error rate decreases, so that non-trivial computations become feasible near 1%. A proven bound, a simulated value and a measured crossing answer different questions.
- Stochastic and coherent errors are measured differently. A local stochastic rate is a probability. Threshold theorems for general, possibly coherent, noise are stated for a worst-case error per gate such as the diamond-norm distance, while benchmarking reports an average infidelity; for coherent errors the two can differ by orders of magnitude (Kueng, Long, Doherty and Flammia). Simulations of the surface code under coherent rotations find that the logical noise becomes close to stochastic Pauli noise at large distance (Bravyi, Englbrecht, König and Peard).
- Non-Markovian and correlated noise need their own theorems. Thresholds have been proved for local non-Markovian noise, with the strength measured by a norm of the system–bath coupling times the gate time (Terhal and Burkard; Aliferis, Gottesman and Preskill), and for interactions between pairs of qubits whose strength decays faster than in dimensions (Aharonov, Kitaev and Preskill). Noise outside these classes, including leakage out of the qubit subspace that is not modelled, is not covered.
- Fresh ancillas are essential. Error correction moves entropy into ancillas that must be discarded and replaced. Without a supply of fresh qubits a noisy reversible computation can remain useful only for a number of steps logarithmic in its size (Aharonov, Ben-Or, Impagliazzo and Nisan).
- Classical processing is part of the hypothesis. The theorem assumes decoding is correct and fast. A decoder that falls behind the syndrome stream violates the assumption; see decoders and quantum architecture.
State of the Art
As of 2026-11:
- Below-threshold operation of a code family has been observed in hardware. Google Quantum AI reported surface-code memories of distance 5 and 7 whose logical error per cycle falls by a factor of about two for each increase of the distance by two. This is a memory experiment, not a fault-tolerant computation.
- On the theory side, two 2024 preprints sharpen the constant-space-overhead results: Tamiya, Koashi and Yamasaki prove polylogarithmic time overhead for a protocol based on quantum LDPC codes combined with concatenated Steane codes, counting classical computation time, and Nguyen and Pattison construct a protocol with constant space overhead and time overhead logarithmic up to smaller factors, assuming fast noiseless classical computation. Both are preprints and are reported here as such.