Resource Costs of the Surface Code
Fault tolerance is not free. The exponential error suppression of the surface code is bought with a large, and quantifiable, overhead in physical qubits. Knowing that cost is essential for planning any real machine.
Counting qubits per logical qubit
In the rotated surface code a distance- patch holds one logical qubit using
so the total physical-qubit count is
This grows quadratically with distance. A few concrete patches:
- : physical qubits.
- : physical qubits.
- : physical qubits.
- : physical qubits per logical qubit.
The leading term is what people mean by the surface code's "quadratic overhead." Because useful algorithms may need a logical error rate around , distances in the – range are typical, which is why estimates for a useful fault-tolerant machine reach into the millions of physical qubits.
Overhead in time, too
Each logical operation also takes many rounds of stabilizer measurement — on the order of rounds to gather enough syndrome history for a reliable decode. So the spacetime cost of one logical gate scales like : qubits maintained over rounds. This is why reducing (by improving physical error rates) pays off twice — fewer qubits and fewer rounds.
Try it
Compute the total number of physical qubits in a distance- rotated surface-code patch using . Return the result. The grader checks that you get .
Sign in on the full site to ask questions and join the discussion.