A checkerboard of checks.
+ The questionWhy do most designs for superconducting quantum computers use one code, and what is a threshold?
Checks between neighbors
The key number in Willow's 2024 paper is 2.14: each time its protected memory was made one step larger, the error per cycle fell by that factor. The memory used the surface code, which descends from the codes Kitaev laid out on a surface in 1997. Most designs for superconducting quantum computers use the surface code, and the reason is geometric. Its data qubits sit on a square grid. A second set of qubits sits in the gaps between them, and each of these ancillas checks the four data qubits around it. Half the checks look for flips and half for phase errors, arranged like the dark and light squares of a checkerboard. No check ever involves a qubit that is not a neighbor. IBM's roadmap now turns to other codes, which Chapter 16 describes.
The surface code's layout fits a flat chip exactly. Each qubit needs couplings only to the qubits beside it, which is what a grid of transmons provides, and the same short sequence of gates runs in every square, every cycle. A patch of the code with sides of d data qubits holds one protected qubit. The number d is called the code distance, because the smallest set of errors that can change the protected qubit without being detected must stretch across the patch, d qubits long. A patch of distance d uses d² data qubits and d² − 1 ancillas, 2d² − 1 in all: 17 for distance 3, 49 for distance 5 and 97 for distance 7.
The design tolerates relatively noisy parts. In 2012 Austin Fowler, Matteo Mariantoni, John Martinis and Andrew Cleland published an analysis that became the standard reference. They put the tolerable error per operation as high as about 1 %, and at 0.57 % in the detailed circuit they simulated, against the 1 in a million to 1 in 10,000 estimated for the nested codes of Chapter 14. The price is size: Fowler and colleagues estimated that a protected qubit good enough for long computations would need of the order of a thousand to ten thousand physical qubits.
The threshold as a slope
Below the threshold, a larger patch is better, because an undetected error needs more physical errors to line up across it. Each increase of the distance by two divides the protected error by a factor written Λ, the Greek letter lambda. Λ is roughly the threshold divided by the physical error rate. A machine with physical errors at half the threshold has Λ of about 2, and one with errors at a tenth of the threshold has Λ of about 10. Above the threshold Λ falls below 1, and a larger patch is worse. Fowler's group wrote the rule as a short formula: the protected error per cycle is about 0.03 divided by Λ raised to a power equal to half of one more than d, which is 4 for distance 7. Willow's numbers fit the rule: for distance 7, 0.03 divided by 2.14⁴ gives about 0.0014, which matches the measured 0.143 %.
Under this rule, crossing the threshold is not the goal in itself. Crossing it shows that the code works, and the slope, Λ, then decides how large a patch must be to reach a given error rate. In 2023 a 72-qubit Google chip had shown a distance-5 patch only just better than distance 3: 2.914 % error per cycle against 3.028 %, a Λ of about 1.04. The 2024 result on Willow was the first with a slope steep enough to matter.
Operating below threshold shows that adding qubits helps. It does not show that the protected qubit is good enough for anything: Willow's 0.143 % per cycle is about a trillion times too high for RSA-2048. Ask for the slope, the error at the largest distance tried, and whether a floor has appeared.
What Willow showed
Willow ran patches of distance 3, 5 and 7, for up to 250 cycles each, and the measured Λ was 2.14, give or take 0.02. The distance-7 patch erred 0.143 % per cycle, and it used 101 qubits, including the four that remove leakage. Its protected qubit lasted 291 microseconds, 2.4 times longer than the best of its physical qubits, so the memory was past break-even. Those figures came from a neural-network decoder that was run after the experiment. A standard matching decoder gave a Λ of 2.04. Such a decoder pairs up the changed checks so that the chains of errors joining them are as short as possible overall. Simpler codes that protect against flips alone were run up to distance 29. They reached about one error in 10¹⁰ cycles and then stopped improving, held back by the bursts of Chapter 12, which arrived about once an hour.
The calculation starts from 0.143 % per cycle at distance 7 and divides by 2.14 for every further step of two in distance. Ten steps give distance 27 and an error of about 7 in 10⁷ per cycle, which matches the paper's own projection: an error of 1 in a million needs a distance-27 patch of 1,457 qubits. An error of 1 in 10⁹ needs distance 45, or 4,049 qubits, and 1 in 10¹² needs distance 63, or 7,937 qubits. One in 10¹⁵, the target of Chapter 13, needs distance 81, or 13,121 qubits for each protected qubit. The calculation assumes the slope holds and that no floor intervenes.
The example shows why physical error rates matter so much. In his 2025 design for RSA-2048, posted as a preprint, Craig Gidney of Google Quantum AI reaches 1 in 10¹⁵ at distance 25, not 81, because he assumes physical errors of 0.1 % on every operation. That rate is three to eight times better than Willow's errors for two-qubit gates and for measurement. Better physical qubits steepen the slope, and a steeper slope shrinks every patch in the machine.
The decoder, a classical computer in the loop
Every cycle, every ancilla reports one bit. A distance-7 patch produces 48 bits per cycle, and at Willow's 909,000 cycles per second that is about 44 million bits a second for a single protected qubit. The decoder of Chapter 14 must turn that stream into a judgment of which errors most likely occurred, and it must keep up. If its backlog grows, the computation stalls, and any step that depends on a corrected result waits. The Willow paper also reports a separate real-time test on a second Willow processor, of 72 qubits, in which a decoder kept pace with the 1.1-microsecond cycle on a distance-5 patch for up to a million cycles, with an average delay of 63 microseconds per answer.
Delay matters as much as speed. Some steps of an algorithm must wait for the decoder's answer before the next gate can run. The corrections that follow when a magic state is fed into the computation are one example. In his design, Gidney assumes that the whole loop, from reading to decision to new pulse, closes in 10 microseconds. In November 2025 IBM reported decoding of its own codes in about 480 nanoseconds on average, a figure from a preprint by its staff. The decoder is a classical computer that sits inside the quantum one, and Chapter 18 places it in the signal chain.
The year after
Results through 2026 refined rather than overturned Willow's. Google reported a color code with a Λ of 1.56 from distance 3 to 5. The color code is related to the surface code and makes more gates easy to perform. Google also reported surface codes run with fewer couplings per qubit. In July 2026 its team reported using reinforcement learning to adjust more than 1,000 control settings while the code ran, reaching 7.72 errors in 10,000 cycles at distance 7, about half the 2024 figure. Reinforcement learning is a method in which a program improves its choices by trial and feedback.
In December 2025 a team at the University of Science and Technology of China reported a Λ of 1.40 at distance 7 on its Zuchongzhi 3.2 chip. In mid-2026, preprints from the same university and from Zhejiang University described operations performed between two distance-3 patches. QuEra is a company that builds machines from neutral atoms. In a 2025 paper, Harvard and QuEra reported that the error fell by a factor of 2.14 from distance 3 to 5 over four rounds of checks. That measurement differs from Willow's, which spans distances 3 to 7 and up to 250 cycles, and the two values are equal by coincidence.
When a result reports error correction below threshold, ask for Λ and the distances over which it was measured. Ask whether the decoder ran in real time or afterward, and with what delay, and how many cycles were run. Ask also whether simpler codes on the same chip revealed a floor from correlated errors. Those four answers determine how large a machine built on that technology must be.
- The surface code checks groups of four neighboring qubits on a grid, so it suits flat chips, and a patch of distance d uses 2d² − 1 qubits: 17, 49 and 97 for distances 3, 5 and 7.
- Below the threshold, about 1 % per operation, each increase of two in distance divides the protected error by Λ, roughly the threshold divided by the physical error.
- Willow reached Λ = 2.14 and 0.143 % per cycle at distance 7 in 2024, with a protected qubit lasting 2.4 times longer than its best physical qubit.
- At Willow's slope, an error of 1 in 10¹⁵ would need distance 81 and about 13,000 qubits per protected qubit, and a decoder must keep pace with tens of millions of check bits per second for each.
Let's Talk