← Back to section · Quantum Computing
Fault-Tolerant Resource Estimation: From an Algorithm to 'How Many Physical Qubits'
Resource estimation is the accounting of fault-tolerant quantum computing: a conversion chain through algorithm size, logical error budget, code distance, and magic state factories — and why estimates for the same problem can fall by orders of magnitude within a decade.
“How many qubits does it take to break RSA-2048?” Numbers fly around — twenty million, one million — often all “with papers to cite.” They do not actually contradict each other; the difference is in the assumptions. Resource estimation is the accounting discipline that lays those assumptions out and converts step by step; learning to read the estimation chain matters more than memorizing any single number.
The conversion chain: five steps
Step one is the algorithm layer: compile the target algorithm (Shor factoring, phase estimation for quantum chemistry) into a logical circuit and count two numbers — the logical qubits required, and the non-Clifford gate count (usually expressed as T or Toffoli gates). Chemistry simulations can reach T counts above ; cryptanalysis sits in the – range depending on the algorithm version.
Step two is the error budget: for the overall computation to succeed with decent probability, total logical error must be held to, say, the percent level; spread across every logical operation, this gives a target error rate per logical gate, typically to .
Step three is code distance: at a given physical error rate, the surface-code scaling formula tells you how large a distance is needed to hit the target logical error rate. Improving the physical error rate from to can more than halve the required distance — this is where estimates are most sensitive to hardware parameters.
Step four is the physical qubit count: each logical qubit needs about physical qubits (data plus ancillas), multiplied by the logical qubit count, plus magic state factories (sized by the T consumption rate and distillation levels, often more than half the total), plus routing and spare area.
Step five is time: total runtime is set jointly by the T count, the logical gate time (distance times cycle time), and factory throughput. Many estimates carry the implicit conclusion “enough qubits, but still weeks of runtime” — space-for-time and time-for-space are two knobs on the same chain.
A worked miniature example
Walking the chain once with small numbers builds intuition. Suppose the target is 1,000 logical qubits at a physical error rate of with the surface code, requiring a logical error rate around : the scaling formula calls for a distance of about . Each logical qubit then needs roughly physical qubits, so the data region totals about 1.46 million physical qubits. Now suppose the algorithm’s T count is and the total runtime should fit in a week: the factory must deliver a high-fidelity magic state every few tens of microseconds on average, while a single two-level distillation line produces far more slowly — so dozens of lines must run in parallel, adding roughly one to two million more physical qubits of factory. The whole machine lands near three million — the same order as published estimates for comparable problems. This miniature deliberately omits routing, spares, and interconnect, but it shows the nature of estimation: every step is a conversion with a checkable formula, and disagreements live in the assumptions and trade-offs — so argue about assumptions, not conclusions.
The assumptions list: the fine print behind the numbers
A responsible estimate states at least five assumptions: the physical error rate (specifying whether it covers gates, measurement, or a combined figure), the code cycle time (about a microsecond for superconducting systems, orders of magnitude slower for trapped ions), decoding and classical reaction latency, the magic state distillation protocol and number of levels, and interconnect and routing topology overhead. When comparing two estimates, compare assumptions before numbers: “one million qubits” computed at a physical error rate and “twenty million” at may describe exactly the same machine under two different futures. Two further assumptions are often left off the books and deserve naming: fabrication yield and spares — a floor plan laid out at one hundred percent yield must be discounted in reality, with extra area reserved for routing around dead components, which alone can consume a tenth or two of the total; and the scale of the classical hardware — decoders, control electronics, and cryogenic wiring are usually excluded from the “qubit count,” yet they are just as much a part of cost and feasibility, so qubit-only estimates are structurally optimistic.
Why the numbers fell three orders of magnitude in a decade
Take factoring RSA-2048. Representative estimates around 2012 required roughly physical qubits; in 2019 Gidney and Ekerå’s optimizations brought the figure to about 20 million physical qubits and roughly 8 hours of runtime (assuming a physical error rate and 1-microsecond cycle time); in 2025 Gidney further presented a scheme using under one million physical qubits with under a week of runtime (preprint-stage, roadmap-level figures). The sources of the decline, roughly by contribution: algorithm-layer cuts to the T count (windowed arithmetic and the like), cheaper magic state preparation (new schemes such as cultivation), and more compact layouts with deliberate approximate-computation trade-offs. The hardware assumptions barely moved — estimation progress came mainly from humans doing the accounting more cleverly, not from machines suddenly getting better. This pattern applies to reading any “quantum threat timeline”: the numbers will keep moving, and the direction depends on how much room the three optimization lines have left.
The same story played out in quantum chemistry. Ground-state energy estimation for the FeMoco cofactor is the most cited chemistry benchmark: early phase-estimation estimates (around 2017) gave gate counts on the order of , once used to argue that chemistry simulation was hopelessly far away; then algorithmic improvements — qubitization, tensor hypercontraction, and others — pressed the T count down to the range and below, and the accompanying physical-qubit estimates moved into “millions of qubits, days of runtime” territory. No experimental group improved hardware error rates by four orders of magnitude in that period — what changed was the algorithms and the accounting. This history serves readers in both directions: for optimists, it shows that today’s frightening numbers still have large room for compression; for the cautious, it is a reminder that the compression came from checkable algorithmic work, not from wishes about hardware progress — and the two must be booked separately.
How to use this
Back to this site’s theme: the urgency of post-quantum migration depends on the product of resource estimates for cryptographically relevant quantum computers and actual hardware progress. Whenever you meet a claim of the form “RSA falls in X years,” trace the chain backwards: which step’s numbers is it using, what physical error rate does it assume, and is the runtime hours or months? Claims that survive the trace deserve to enter decisions; the rest is popular-science rhetoric.
Tags: resource estimationphysical qubitsfault-tolerant quantum computing