The Threshold Theorem (Applied)
Building a bigger code only helps if adding qubits actually drives the error rate down. The threshold theorem is the guarantee that it does — provided the hardware is good enough. For the surface code it takes a strikingly practical form.
The threshold condition
There exists a critical physical error rate , the threshold, such that:
- If the per-operation physical error rate is below , increasing the code distance makes the logical error rate fall exponentially.
- If is above , increasing makes things worse — larger codes have more places to fail and the code cannot keep up.
Below threshold, the logical error rate per round scales approximately as
where is an prefactor. The exponent grows with , so each step up in distance suppresses errors by a roughly constant factor as long as .
Why a threshold exists at all
A logical error requires a chain of about physical errors that the decoder mismatches. The number of such low-weight failing configurations grows combinatorially with , but the probability of each one shrinks like . When is small enough, the shrinking probability wins over the growing count, and the net logical error rate decreases with . The threshold is precisely the value of where these two effects balance.
The surface code's selling point
What makes the surface code so attractive is the value of its threshold. With realistic circuit-level noise and a matching decoder, the surface-code threshold sits near — far more forgiving than most other codes, whose thresholds are often an order of magnitude lower. A threshold is within reach of today's best superconducting and trapped-ion hardware, which is why the surface code dominates fault-tolerance roadmaps.
Reading the scaling in practice
The exponential suppression is what lets engineers quote a target. To reach a logical error rate of, say, from a physical rate of , one solves the scaling relation for — typically landing in the range –. The next lesson turns that distance into a concrete qubit budget, making the cost of fault tolerance explicit.
Sign in on the full site to ask questions and join the discussion.