Skip to main content
KetQat

Appearance

Equation · intermediate

Logical error budget of a fault-tolerant computation

By the union bound, a computation fails with probability at most the sum of its component failure probabilities. Requiring this sum to stay below a target fixes the logical error rate allowed per patch per round and per magic state.

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.

Pfail  ≤  Npr pL  +  NT pmagic  ≤  δ,Npr=npatch Nsteps dP_{\mathrm{fail}} \;\le\; N_{\mathrm{pr}}\, p_{L} \;+\; N_{T}\, p_{\mathrm{magic}} \;\le\; \delta, \qquad N_{\mathrm{pr}} = n_{\mathrm{patch}}\, N_{\mathrm{steps}}\, d

Derivation. The computation's output can be wrong only if at least one patch suffers a logical failure in at least one round, or at least one consumed magic state is faulty. By the union bound Pr⁡[⋃iEi]≤∑iPr⁡[Ei]\Pr[\bigcup_i E_i] \le \sum_i \Pr[E_i], applied to the NprN_{\mathrm{pr}} patch-round events of probability pLp_L and the NTN_T magic-state events of probability pmagicp_{\mathrm{magic}}, the failure probability is at most NprpL+NTpmagicN_{\mathrm{pr}} p_L + N_T p_{\mathrm{magic}}. No independence is needed.

Use. A resource estimate chooses an overall failure target δ\delta, splits it between the terms (for example half each), and solves for the largest allowed pLp_L and pmagicp_{\mathrm{magic}}: pL≤δ1/Nprp_L \le \delta_1 / N_{\mathrm{pr}} and pmagic≤δ2/NTp_{\mathrm{magic}} \le \delta_2 / N_T with δ1+δ2=δ\delta_1 + \delta_2 = \delta. The first fixes the code distance; the second fixes the factory design. The number of patch-rounds, not the number of gates, is what the memory term scales with: every idle patch is exposed in every round. Published estimates handle the budget with more refined models (for example Gidney and Ekerå account for repeated attempts of a computation that may fail), but the union bound is the common starting point.

The bound is tight only when the events rarely overlap, which is the regime of interest (Pfail≪1P_{\mathrm{fail}} \ll 1). If a computation can be checked cheaply and repeated, as for factoring, a larger δ\delta is acceptable, and the expected cost becomes the cost of one attempt divided by its success probability.

Holds when

  • pLp_L is the probability of a logical failure of one patch in one round of syndrome measurement, and pmagicp_{\mathrm{magic}} the error probability of one consumed magic state; failures of distinct components are events in one probability space, not necessarily independent.
  • The computation keeps npatchn_{\mathrm{patch}} patches alive for NstepsN_{\mathrm{steps}} logical time steps of dd rounds each.
  • Only the failure events listed are counted; other failure sources (decoder, leakage, classical control) must be added as further terms.
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. Craig Gidney, Martin Ekerå (2021). How to factor 2048 bit RSA integers in 8 hours using 20 million noisy qubits. Quantum 5, 433 (arXiv preprint 2019). doi:10.22331/q-2021-04-15-433arXiv:1905.09749
  2. Daniel Litinski (2019). Magic State Distillation: Not as Costly as You Think. Quantum 3, 205. doi:10.22331/q-2019-12-02-205arXiv:1905.06903

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)

    Union-bound derivation re-derived line by line (no independence needed); the statement that Gidney and Ekera optimise expected volume including repetitions compared with arXiv:1905.09749 (Section 3, 'including expected repetitions'); budget split and expected-cost-over-success-probability 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 2662ad21dafb9858. Source file knowledge/records/equation/logical-error-budget.md in the content repository (readable there once it is public).