Fault tolerance and threshold assumptions
Connect error propagation and fault-tolerant gadgets to conditional suppression bounds for long computations.
On this page
The question for today
What you’ll understand
- Propagate Pauli faults through a controlled-NOT with the correct direction.
- Separate code distance from gadget fault tolerance.
- Apply a conditional concatenation bound without claiming a universal threshold number.
Correction requires noisy operations, so adding a code can increase the number of opportunities for failure. Fault tolerance designs those operations so that a small number of physical faults cannot produce an uncorrectable logical effect. A threshold theorem then combines such circuit properties with an explicit noise model and resource assumptions. The conclusion is conditional: sufficiently weak modeled noise can be suppressed with growing overhead. It is neither a universal percentage for every device nor a promise that any decoder or schedule will work.
Track how a gate spreads faults
A controlled-NOT propagates an X fault on its control to both control and target, whereas X on the target remains on the target. A Z fault on the target propagates backward to both qubits, whereas Z on the control stays there. These identities follow by conjugating Paulis through the ideal gate. They describe faults placed before the gate and moved to an equivalent location after it; reversing that convention without care produces incorrect propagation diagrams.
An ancilla reused to collect a parity can therefore pass one fault to several data qubits. A distance-three data code corrects one data error, but it need not tolerate one arbitrary fault in an unprotected extraction circuit. Verified ancillas, flagged circuits, appropriate interaction ordering, repeated checks, and other constructions address this risk under their particular fault models. The relevant property concerns the whole gadget, including preexisting errors, rather than the nominal weight of the parity it measures.
See why a quadratic bound can emerge
Suppose a verified distance-three construction makes every gadget with at most one fault behave correctly in the required sense. In an independent stochastic model, failure then needs at least a harmful pair of faults. Counting these pairs and bounding higher-order terms can yield a recurrence in which the next encoded error strength is at most A times the square of the previous one. A includes circuit structure; it cannot be inferred from data distance alone.
This illustrative recurrence contracts whenever its input lies below one over A. Iterating gives rapid suppression, but only if the same valid bound applies at every level. Overlapping gadgets, propagation between blocks, state preparation, measurement, and idle locations must be treated consistently in a real proof. Coherent local-noise theorems may instead bound operator amplitudes, not stochastic probabilities. Substituting one number into the other kind of bound without translation changes the physical statement.
Translate per-location protection into a task
A computation with N logical locations can fail at any of them. If each location has error probability at most the chosen encoded bound, the union bound limits total failure by their sum; independence of logical failures is not required for that step. A small per-gate error is therefore meaningful only relative to circuit size and an acceptable overall failure probability. Increasing code size or concatenation level consumes additional qubits, gates, measurements, and classical processing.
Threshold statements also assume access to adequately prepared ancillas, fault handling at the relevant spatial scale, and decoding or feed-forward within the architecture's timing budget. Long-range correlated disturbances, uncontrolled leakage, or drift can violate a model based on local independent faults. Some broader noise models admit different theorems, but this requires their stated bounds. A hardware report must therefore specify the noise model, circuit family, decoder, and logical task before comparing its rates with any threshold estimate.
Work it through
Choose a concatenation level in a toy bound
Assume the stated recurrence with is valid at every level. Bound errors through level three and find a level sufficient for logical locations with task failure at most .
The initial product is below one, so the conditional recurrence contracts. Level one obeys .
Applying the same bound again gives . A third application yields . These are upper bounds, not equalities for a physical device.
The task bounds are one at level two and at level three. Only the latter certifies the requested target from the supplied bounds; level two could perform better but is not certified here.
Level three is sufficient in this toy construction, giving task failure at most one part in ten thousand, conditional on the assumed recurrence.
The living notebook
Explore the model
Interactive lab · probability
More locations create more fault opportunities
Reset and set ; predict the zero-fault bar . For a fresh run Reset and set ; predict . At Reset time the zero-fault bar is highlighted numerically. The exact binomial instrument assumes independent faults and contains no encoding, fault-tolerant gadgets, threshold calculation, or correlated-noise model.
- Mean · np
- 5
- Variance · np(1−p)
- 2.5
- Total probability
- 1
These are exact binomial probabilities for independent trials with one fixed success probability. Playback tours the distribution; it does not resample outcomes. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forAdded operations increase raw fault opportunities; protection requires circuit structure that converts most faults into correctable events.
Pause & reason
Check your understanding
Your turn
Try it yourself
Use the same toy recurrence with . Compute bounds through level three. For , decide whether level two or three certifies task failure below .
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Apply the square and then multiply by fifty at each level. Use the union bound only after obtaining the per-location bound.
Compare with the solution
The bounds are , , and . The respective task bounds at levels two and three are and . Thus level three certifies the target, whereas level two does not certify it. The model's sufficient contraction condition is ; this number is specific to the supplied recurrence and is not a physical surface-code threshold.
Keep the idea
Take it with you
- A circuit fault can spread beyond the error weight suggested by code distance.
- Threshold constants belong to specified constructions and noise assumptions.
- Task failure depends on the number of logical locations as well as their error bounds.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.