Skip to main content
KetQat

Appearance

Equation · intermediate

Code distance required for a target logical error rate

Inverting the below-threshold scaling ansatz gives the smallest odd surface-code distance whose logical error rate per round meets a target. The distance grows only logarithmically with the inverse target, while the qubit count per patch grows quadratically with the distance.

Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

d  =  min⁡{d odd:A(ppth)(d+1)/2≤pLtarget},d  ≈  2ln⁡(A/pLtarget)ln⁡(pth/p)−1d \;=\; \min\Big\{ d \text{ odd} : A \Big(\frac{p}{p_{\mathrm{th}}}\Big)^{(d+1)/2} \le p_{L}^{\mathrm{target}} \Big\}, \qquad d \;\approx\; \frac{2 \ln (A / p_{L}^{\mathrm{target}})}{\ln (p_{\mathrm{th}}/p)} - 1

Derivation. Under the scaling ansatz, pL(d)p_L(d) decreases with dd, so the set of admissible distances is an up-set and its smallest odd member is the required distance. Taking logarithms of A(p/pth)(d+1)/2≤pLtargetA (p/p_{\mathrm{th}})^{(d+1)/2} \le p_L^{\mathrm{target}} and dividing by ln⁡(pth/p)>0\ln(p_{\mathrm{th}}/p) > 0 gives (d+1)/2≥ln⁡(A/pLtarget)/ln⁡(pth/p)(d+1)/2 \ge \ln(A / p_L^{\mathrm{target}}) / \ln(p_{\mathrm{th}}/p), which is the approximate closed form before rounding up to an odd integer.

Consequences. With Λ=pth/p\Lambda = p_{\mathrm{th}}/p, each increase of dd by 2 multiplies the logical error rate by 1/Λ1/\Lambda, so reaching a target ten times smaller costs 2/log⁡10Λ2/\log_{10}\Lambda more units of distance. A rotated surface-code patch with one ancilla per check uses 2d2−12d^2 - 1 physical qubits (rotated surface code), so the footprint grows like (ln⁡(1/pLtarget)/ln⁡Λ)2\big(\ln(1/p_L^{\mathrm{target}})/\ln \Lambda\big)^{2}: logarithmic sensitivity to the target, but strong sensitivity to Λ\Lambda, that is to the physical error rate. For example, with A=0.1A = 0.1 and Λ=10\Lambda = 10, a target of 10−1210^{-12} per round needs (d+1)/2≥11(d+1)/2 \ge 11, so d=21d = 21 and 881881 physical qubits per patch; with Λ=20\Lambda = 20 it needs (d+1)/2≥11/log⁡1020=8.45(d+1)/2 \ge 11/\log_{10}20 = 8.45, so (d+1)/2=9(d+1)/2 = 9, d=17d = 17 and 577577 qubits per patch.

Holds when

  • The logical error rate per round follows the scaling ansatz pL(d)≈A(p/pth)(d+1)/2p_L(d) \approx A (p/p_{\mathrm{th}})^{(d+1)/2} with fitted constants AA and pthp_{\mathrm{th}}, and p<pthp < p_{\mathrm{th}}.
  • The result inherits every limitation of that fit; it is an algebraic inversion, not an independent physical statement.
Stated in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Austin G. Fowler, Matteo Mariantoni, John M. Martinis, Andrew N. Cleland (2012). Surface codes: Towards practical large-scale quantum computation. Physical Review A 86, 032324. doi:10.1103/PhysRevA.86.032324arXiv:1208.0928

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Algebraic inversion of A (p/p_th)^((d+1)/2) <= target re-derived; ansatz form compared with Fowler et al. arXiv:1208.0928 (d_e = (d+1)/2 scaling); worked examples recomputed numerically (Lambda=10 -> (d+1)/2 >= 11, d=21, 881 qubits; Lambda=20 -> 8.455, d=17, 577 qubits); 2d^2-1 qubits per rotated patch re-derived.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision e73caf1a283f98f7. Source file knowledge/records/equation/code-distance-from-target-logical-error.md in the content repository (readable there once it is public).