research30 min studyLesson 438 in Physics

Fault tolerance and threshold assumptions

Connect error propagation and fault-tolerant gadgets to conditional suppression bounds for long computations.

On this page

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.

CNOT Xc CNOT†=XcXt,CNOT Zt CNOT†=ZcZt\mathrm{CNOT}\,X_c\,\mathrm{CNOT}^{\dagger}=X_cX_t,\qquad \mathrm{CNOT}\,Z_t\,\mathrm{CNOT}^{\dagger}=Z_cZ_t
The subscripts label control and target. These exact dimensionless identities concern ideal conjugation; the placement and allowed action of a physical gate fault must be specified separately.↔ Scroll wide equations horizontally.

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.

pℓ+1≤Apℓ2,pℓ≤(Ap0)2ℓAif the recurrence holds at every levelp_{\ell+1}\le A p_\ell^2,\qquad p_\ell\le\frac{(Ap_0)^{2^\ell}}{A}\quad\text{if the recurrence holds at every level}
The p values and A are dimensionless. This is an illustrative conditional bound, not a measured threshold or a claimed constant for the code examples in this module.↔ Scroll wide equations horizontally.

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.

Ptask fail≤min⁡{1,Npℓ}P_{\mathrm{task\ fail}}\le\min\{1,Np_\ell\}
This union bound assumes N logical failure events each bounded by p-level. It is an upper bound and may be loose; it is not an exact success probability.↔ Scroll wide equations horizontally.

Choose a concatenation level in a toy bound

Assume the stated recurrence with A=100,p0=10−3A=100,p_0=10^{-3} is valid at every level. Bound errors through level three and find a level sufficient for N=106N=10^6 logical locations with task failure at most 10−310^{-3}.

  1. The initial product Ap0=0.1Ap_0=0.1 is below one, so the conditional recurrence contracts. Level one obeys p1≤100(10−3)2=10−4p_1\le100(10^{-3})^2=10^{-4}.

  2. Applying the same bound again gives p2≤100(10−4)2=10−6p_2\le100(10^{-4})^2=10^{-6}. A third application yields p3≤100(10−6)2=10−10p_3\le100(10^{-6})^2=10^{-10}. These are upper bounds, not equalities for a physical device.

  3. The task bounds are one at level two and 106×10−10=10−410^6\times10^{-10}=10^{-4} at level three. Only the latter certifies the requested 10−310^{-3} target from the supplied bounds; level two could perform better but is not certified here.

The result

Level three is sufficient in this toy construction, giving task failure at most one part in ten thousand, conditional on the assumed recurrence.

Explore the model

Interactive lab

Interactive lab · probability

More locations create more fault opportunities

Reset and set p=0.01,n=10p=0.01,n=10; predict the zero-fault bar 0.9910≈0.90440.99^{10}\approx0.9044. For a fresh run Reset and set p=0.01,n=30p=0.01,n=30; predict 0.9930≈0.73970.99^{30}\approx0.7397. 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.

More locations create more fault opportunitiesThese are exact binomial probabilities for independent trials with one fixed success probability. Playback tours the distribution; it does not resample outcomes. Current readings: Mean · np: 5; Variance · np(1−p): 2.5; Total probability: 1. All parameters are adjustable with the labeled controls below.03581000.070.150.220.3Successes kP(X = k)k = 0 · P = 9.77e-4
Exact probabilityHighlighted outcomeMean np
Mean · np
5
Variance · np(1−p)
2.5
Total probability
1
t = 0 s

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.

Check your understanding

What additional information is required before treating a numerical error rate as below a fault-tolerance threshold?

Try it yourself

Use the same toy recurrence with A=50,p0=0.002A=50,p_0=0.002. Compute bounds through level three. For N=105N=10^5, decide whether level two or three certifies task failure below 10−410^{-4}.

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 p1≤0.0002p_1\le0.0002, p2≤0.000002p_2\le0.000002, and p3≤2×10−10p_3\le2\times10^{-10}. The respective task bounds at levels two and three are 0.20.2 and 2×10−52\times10^{-5}. Thus level three certifies the target, whereas level two does not certify it. The model's sufficient contraction condition is p0<1/50=0.02p_0<1/50=0.02; this number is specific to the supplied recurrence and is not a physical surface-code threshold.

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.