Error Thresholds
The single most important number for a fault-tolerant code is its error threshold : the physical error rate below which increasing the code distance decreases the logical error rate. Above threshold, adding qubits makes things worse; below it, the code works arbitrarily well in the large- limit. The surface code's threshold is famously high, which is why it dominates hardware roadmaps. This lesson states the threshold and the sub-threshold scaling law you use to size a code.
The competition that defines a threshold
Two effects fight as the distance grows:
- More room to fail. A larger patch has more qubits, hence more places for a fault chain to start.
- Longer fault chains required. A logical error now needs a string of length , and long coordinated chains are exponentially suppressed when single errors are rare.
The second effect wins iff the physical error rate is below the threshold . The threshold is exactly the crossing point where curves of logical error rate versus — taken at different distances — all intersect.
The surface-code threshold
Under an idealized independent-error model the surface-code threshold maps onto the phase transition of the 2D random-bond Ising model along the Nishimori line, giving
With realistic circuit-level noise (faulty gates, faulty and repeated measurements), the threshold drops to the often-quoted
That tolerance is generous compared with competing codes and within reach of current hardware — the surface code's headline selling point.
The sub-threshold scaling law
For , the logical error rate per error-correction round follows the empirical law
with an prefactor . The exponent is the number of physical faults needed to overwhelm a distance- code. The structure is the key insight:
- Because , raising the exponent drives down.
- The exponent grows linearly in , so falls exponentially in .
- Meanwhile the qubit cost grows only polynomially, .
A worked estimate
Take , threshold , physical rate , and distance . Then and the exponent is , giving
A tenfold safety margin in and a modest distance-5 patch already yield a logical error of per round. Pushing to would give , and so on — the engineering knob is simply .
Try it
Implement the scaling law for odd . With , , , and , return .
Sign in on the full site to ask questions and join the discussion.