The arithmetic is stark: current superconducting qubits have physical error rates around per gate. Shor-on-RSA-2048 needs about operations. Multiply those and every candidate output is vaporized by noise before the algorithm finishes. Quantum error correction is not a polish step, it is a roughly thousand-to-one qubit multiplier that every useful quantum computation is eventually going to need.

Why QEC is harder than classical ECC

Classical error correction repeats bits: send , decode majority. This works because bits are discrete. Quantum states are continuous, a qubit lives on the Bloch sphere and can decohere in infinitely many ways.

Worse, the no-cloning theorem forbids . You cannot make backup copies.

Shor 1995 [1] and Steane 1996 [2] showed that QEC is nevertheless possible by encoding one logical qubit into many physical qubits and measuring syndrome operators, commuting observables that detect errors without collapsing the encoded state.

The threshold theorem

Aharonov-Ben-Or, Kitaev, Knill-Laflamme-Zurek 1996–1997 [3]: if physical-gate error is below a threshold , arbitrary-length quantum computations can be performed at logical error rate using a distance- code, with polynomial overhead.

For the surface code, in theoretical analyses [4], in realistic circuit-level noise models. Current superconducting qubits (Google Willow 2024) achieve per-gate error , right at the threshold, which is why “distance-3, distance-5, distance-7 surface codes” are the topic of current experiments.

Surface code overhead

For a logical qubit to sustain computation of depth operations at failure probability , we need a surface-code distance such that

Each logical qubit requires physical qubits (where is a small constant). For (megaquop), , , :

For Shor on RSA-2048, Gidney-Ekerå 2021 [5] arrived at million physical qubits. This is three to four orders of magnitude more than 2026-era hardware.

The Megaquop roadmap

Preskill 2025 [6] named the next milestone: a machine executing logical operations reliably. Recent results:

  • Google Willow 2024 demonstrated below-threshold error correction at distance-5 and distance-7, with logical error rate decreasing as distance increases, the first scalable QEC demonstration.
  • Quantinuum H2 2024 demonstrated 56-qubit trapped-ion devices with 99.99% two-qubit gate fidelity, far exceeding the threshold.
  • IBM Heron 2024 (133 qubits) targets error-rate reduction to enable early QEC.

The Megaquop milestone is credibly 5-10 years away, conditional on continued progress. The CRQC milestone (Shor-capable) is likely 10-20 years.

What this means for algorithms

  1. NISQ algorithms (VQE, QAOA, basic quantum simulation) will need to produce useful results in the “early FT” window when only dozens of logical qubits are available. Most published NISQ demonstrations will not survive the transition.
  2. Shor, HHL, quantum simulation of large molecules need full FT, and timelines for those are longer.
  3. Error correction research itself is the bottleneck. Improvements in code efficiency (e.g., LDPC codes with better rate) and decoder algorithms (neural decoders, real-time classical processing) have high marginal value.

Good-to-know bounds

  • Knill-Laflamme conditions, a code corrects a set of errors iff for some Hermitian . The foundation of all QEC design.
  • Eastin-Knill theorem 2009, no QEC code can have a universal transversal gate set. Implication: non-Clifford gates (e.g., gate) require “magic state distillation,” a large fraction of surface-code overhead.
  • Tillich-Zemor bound, LDPC quantum codes trade off rate and distance : . Constant-rate LDPC codes are the holy grail for efficient FT.

References

[1] Shor, P. W. (1995). Scheme for reducing decoherence in quantum computer memory. Phys. Rev. A 52, R2493.

[2] Steane, A. M. (1996). Error Correcting Codes in Quantum Theory. Phys. Rev. Lett. 77, 793.

[3] Aharonov, D., Ben-Or, M. (1997). Fault-Tolerant Quantum Computation With Constant Error Rate. SIAM J. Comput. 38(4), 1207. Kitaev, A. Y. (1997). Quantum computations: algorithms and error correction. Russ. Math. Surv. 52, 1191.

[4] Fowler, A. G., Mariantoni, M., Martinis, J. M., Cleland, A. N. (2012). Surface codes: Towards practical large-scale quantum computation. Phys. Rev. A 86, 032324.

[5] Gidney, C., Ekerå, M. (2021). How to factor 2048-bit RSA integers in 8 hours using 20 million noisy qubits. Quantum 5, 433.

[6] Preskill, J. (2025). Beyond NISQ: The Megaquop Machine. ACM Trans. Quantum Comput. 6(3).