Error-correction results are labeled by one number, the code distance. It sets how many errors a code can survive and roughly how many qubits it needs, but it does not say how well the code worked.
A code of distance d can correct up to (d − 1)/2 errors, rounded down.1 So distance 3 survives any single error, and the codes used in experiments grow in steps of two: 3, 5, 7.
Why the qubit count grows like d²
In the surface codeAn error-correcting code that spreads one protected qubit over a square grid of physical qubits., the distance is the width of a square patch, because a logical error has to run from one edge to the other. A wider patch means a longer shortest chain, but the qubit count grows with the area. One superconducting team used 17 qubits at distance 3 and 49 at distance 5.2 A neutral-atom team counted 26, 74 and 146 physical qubits for a pair of codes at distances 3, 5 and 7.3
The same distance-3 code can be laid out on 25, 17 or 13 qubits; the smallest reuses its helper qubits and takes longer per round.1 So “distance 7” does not fix a qubit count.
Figure 1: What one step up in distance bought. A: in a surface code, the shortest error chain that no check notices runs edge to edge, so it has d errors, while the qubit count grows with the patch's area. B: in a 2023 superconducting experiment, the distance-5 code made about 4% fewer errors per round than the average distance-3 code. From the original papers.
Distance 7. In 2025, the same group showed errors falling with each step from 3 to 7 in stored memory; the Λ Note has the figures.5 Separately, a neutral-atom team improved an entangling gate between two codes from distance 3 to 7, but only with a decoder that used correlations between the codes; with standard decoding, results got worse as the distance grew.3 Its preparation was also not fully protected beyond distance 3.3
How to read a “distance-N” claim
Which errors? A distance-25 repetition code guards against bit flips only, so its authors call it unsuitable for quantum algorithms.2
Did bigger beat smaller? A distance is a design number. Ask whether the larger code actually had fewer errors on the same machine.
How many qubits? Layout and helper qubits change the count.
Which decoder, and were runs discarded? Both can move the result.
Memory or operations? Storing one logical qubit is a different test from computing with it.