QUANTUM // FIELD MAP
← field map
PART 05 · HOW IT WORKS12 min read

Capabilities of Quantum Computation

Quantum Computing, Mapped · part 05 of 09 · current to November 2026
TL;DR — This page asks what a large, error-corrected quantum computer would actually be good for. Two answers are strong. Shor's algorithm breaks RSA and elliptic-curve cryptography, and simulating strongly correlated chemistry and materials looks like an exponential win. Grover's quadratic speedup is real on paper but gets eaten by error-correction overhead. Optimisation and machine learning remain unproven, and some proposed speedups have been dequantized outright. The thing to carry away: you need a superpolynomial speedup on a problem with a small input and a small output.

Page 04 gave you the machine: amplitudes, unitaries, interference, one sample per run. This page asks what that machine is for. A quantum computer is not a faster CPU. It is a narrow accelerator that wins only when a problem has structure interference can exploit, such as a hidden period or a Hamiltonian's spectrum, and when the answer can be read out in a few measurements. We go through the known algorithms in decreasing order of confidence, then put them on one scorecard. Page 06 then explains why the qubit counts below are so large.

Shor: period finding breaks public-key crypto

Factoring reduces to finding a period. Pick a random a coprime to N and look at

f(x) = aˣ mod N f(x + r) = f(x) r = order of a mod N

If r is even and a^(r/2) ≢ −1 (mod N), then (a^(r/2) − 1)(a^(r/2) + 1) ≡ 0 (mod N) without either factor being a multiple of N, so gcd(a^(r/2) ± 1, N) gives a nontrivial factor. A random a works with probability at least 1/2. Everything except finding r is classical and cheap. Finding r is classically as hard as factoring.

The quantum part runs in three steps:

  1. Superpose. Apply H to every qubit of a register of m ≈ 2n qubits, giving (1/√M) Σ_x |x⟩ with M = 2^m.
  2. Evaluate f reversibly. Modular exponentiation into a second register gives (1/√M) Σ_x |x⟩|aˣ mod N⟩. This is ordinary arithmetic (the Toffoli circuits from page 01), and it accounts for nearly all of the gate cost.
  3. Fourier transform the first register. The quantum Fourier transform maps |x⟩ → (1/√M) Σ_y e^(2πi·xy/M) |y⟩. The first register now holds a comb of x values spaced r apart, so the amplitudes interfere constructively only near y ≈ kM/r. Measuring gives such a y. Continued fractions on y/M recover r after a few repetitions.

The QFT costs only O(m²) gates. A classical FFT on 2^m numbers costs O(m·2^m), but the QFT does not have to output the spectrum. It only has to make you likely to sample a peak, and the Holevo limit from page 04 is respected because you get one y per run. The total is polynomial, roughly O(n³) gates for an n-bit modulus with schoolbook arithmetic. The best classical method, the number field sieve, is subexponential: exp(O(n^(1/3) (log n)^(2/3))). That gap is superpolynomial.

The same machinery solves discrete logarithms. Both problems are instances of the abelian hidden subgroup problem, and discrete logs over elliptic-curve groups fall the same way. So Shor breaks RSA, Diffie–Hellman, ECDH, ECDSA and EdDSA together. Symmetric ciphers and hashes are not hit by Shor, only by Grover's square root, which doubling the key length absorbs. This is why NIST's IR 8547 deprecates every quantum-vulnerable public-key algorithm after 2030 and disallows them after 2035, regardless of key size (NIST IR 8547). The replacements are ML-KEM and ML-DSA, finalised in 2024 (NIST PQC). The deadline matters before a quantum computer exists because of harvest now, decrypt later: ciphertext recorded today can be decrypted whenever the machine arrives.

How many qubits does breaking RSA-2048 take?

"Polynomial" says nothing about constants, and the constants are where the field has made its quietest progress. All three estimates below assume the same physical error rate, p = 10⁻³, and the same 1 µs error-correction cycle. The first two also assume a square grid with nearest-neighbour connections. The third trades that grid for long-range links.

EstimatePhysical qubitsRuntimeKey ideasStatus
Gidney & Ekerå 201920 million8 hourswindowed arithmetic, surface code, nearest-neighbour gridpeer-reviewed
Gidney 2025< 1 millionjust under a weekapproximate residue arithmetic, yoked surface codes, magic-state cultivationpreprint
Pinnacle architecture, 2026< 100,000—qLDPC (generalized bicycle) codespreprint

On the same grid hardware, the count fell 20× in six years through better arithmetic and better storage of idle logical qubits. That came from algorithms and architecture alone, not better qubits. The last row goes another order of magnitude down, but with a catch. qLDPC codes need long-range connectivity between qubits and fast decoding of a harder code. A planar superconducting chip does not natively provide the first, and page 06 explains why both are hard. Even so, the trend line is the useful fact. The machine that breaks RSA has shrunk from "a building full of dilution refrigerators" to something a hardware roadmap could plausibly reach. No machine today is anywhere close. Page 08 covers what current logical-qubit demonstrations actually show.

Grover, and why quadratic is not enough

Grover's algorithm finds a marked item among N using O(√N) oracle queries. Classically you need O(N), and the bound is tight: no quantum algorithm does unstructured search in fewer than Ω(√N) queries. Geometrically, each Grover iteration rotates the state by an angle of about 2/√N toward the marked state, so about (π/4)√N rotations land you there. It is fully general: any brute-force search, any NP verifier used as an oracle, gets the square root. That generality is why it appears in so many pitches.

The problem is constants. A classical core evaluates a cheap predicate in about a nanosecond. On a surface-code machine, every oracle call is compiled into Toffoli gates, each built from distilled magic states, with error-correction cycles of about a microsecond. So a single logical oracle call plausibly costs something like a millisecond. Treat that as an assumption for the sketch below, not a measurement. Let t_c be the classical time per evaluation, t_q the quantum time per oracle call, and P the number of classical cores. The crossover happens where the two run times match:

N·t_c / P = √N · t_q ⇒ N* = (P · t_q / t_c)² quantum runtime at N* = √N* · t_q

Take illustrative, assumed numbers: t_c = 1 ns, t_q = 1 ms, P = 10⁴ cores. Then N* = (10⁴·10⁶)² = 10²⁰, and the quantum machine needs 10¹⁰ · 1 ms ≈ 10⁷ s, about four months, just to break even with a modest cluster. Parallelising Grover does not help much either: splitting the search over K quantum machines saves only a factor of √K. Babbush et al. did this analysis carefully, using real surface-code constructions. They conclude that quadratic speedups will not give an advantage on early fault-tolerant machines unless error correction gets much cheaper, and that quartic speedups look far more practical (Focus beyond quadratic speedups, PRX Quantum 2021). Hoefler, Häner and Troyer reach the same rule from another direction: the useful cases are small-data problems with super-quadratic speedups (Disentangling hype from practicality, CACM 2023).

Simulating chemistry and materials

This is Feynman's original application from page 02, and still the most likely first source of commercial value. The task is to find low-lying energies of a molecular or lattice Hamiltonian H. Reaction rates, binding energies and catalytic pathways all come from energy differences, and you need "chemical accuracy", about 1.6 millihartree (≈ 1 kcal/mol), to predict them.

The core algorithm is quantum phase estimation. Prepare a state |ψ⟩ that overlaps the ground state |E₀⟩. Apply controlled U = e^(−iHt) for doubling powers of t, and use phase kickback (page 04) to write the eigenphase into an ancilla register. An inverse QFT then reads it out:

U|E_k⟩ = e^(−iE_k t)|E_k⟩ Pr[read E₀] = |⟨E₀|ψ⟩|² cost ∝ 1/ε applications of U

The input is small: a list of orbital integrals, which grows polynomially with the number of orbitals. The output is small: one number. The hard part, a wavefunction with exponentially many amplitudes, lives only inside the machine. That is exactly the profile the previous section said you need.

The flagship target is FeMoco, the iron–molybdenum cofactor of nitrogenase, which fixes nitrogen at room temperature while industry burns a percentage-level share of global energy on the Haber–Bosch process. Its electrons are strongly correlated, the regime where classical workhorses like coupled cluster lose reliability and exact methods scale exponentially. Reiher et al. made the first detailed end-to-end estimate (Elucidating reaction mechanisms, PNAS 2017). Better Hamiltonian encodings have since cut the cost by orders of magnitude. With tensor hypercontraction, Lee et al. estimate about four million physical qubits and under four days, assuming 1 µs cycles and p ≤ 0.1% (Even more efficient chemistry, PRX Quantum 2021). Catalysts, battery cathodes, high-temperature superconductors (Hubbard-type models) and photochemistry all fall in the same class.

Two honest caveats. First, phase estimation succeeds with probability |⟨E₀|ψ⟩|², and for large strongly correlated systems nobody can guarantee an easy-to-prepare state with good overlap. Second, classical heuristics (DMRG, selected CI, quantum Monte Carlo) keep improving. A careful review found no generic evidence yet for an exponential advantage in ground-state chemistry, and the authors suggest it is prudent to assume exponential speedups are not generically available. Quantum computers may still be useful, through polynomial gains on specific hard instances (Is there evidence for exponential quantum advantage in quantum chemistry?, Nature Communications 2023). Dynamics, meaning time evolution rather than ground states, is where the case for exponential advantage is cleanest.

Optimisation and machine learning: read the fine print

Linear systems (HHL). Harrow, Hassidim and Lloyd showed how to prepare |x⟩ ∝ A⁻¹|b⟩ in time polylogarithmic in the dimension of A (HHL 2009). That sounds exponential, but Aaronson's list of caveats applies (Read the fine print, Nature Physics 2015):

Each caveat is a place where the speedup can leak away, and for "load my big dataset" applications at least one usually does.

Dequantization. In 2018 Ewin Tang showed that the quantum recommendation-system algorithm can be matched classically, up to polynomial factors, once the classical algorithm gets the same sample-and-query access to the data that the quantum one assumed (A quantum-inspired classical algorithm). Similar results followed for several low-rank quantum ML proposals. The lesson is that many "exponential" QML speedups came from the input model, not from the quantum computer.

QAOA and annealing. The Quantum Approximate Optimization Algorithm alternates a problem Hamiltonian with a mixing Hamiltonian over p layers and tunes the angles classically (Farhi, Goldstone & Gutmann 2014). It is a heuristic. There is no proof it beats the best classical heuristics on practical instances, and BQP is not believed to contain NP-complete problems (page 02). So the realistic ceiling is a modest speedup on some instance families. Quantum annealing is in the same position. Whatever vendors say, no optimisation or ML workload has a demonstrated quantum advantage today.

The scorecard

ApplicationSpeedup typeQubits / time neededConfidence
Factoring RSA-2048 (Shor)superpolynomial vs NFS< 1M physical, ~1 week; < 100k with qLDPC preprinthigh (math proven; hardware is the gap)
Elliptic-curve discrete logsuperpolynomialnot costed herehigh
Chemistry, strongly correlated (FeMoco)exponential suspected, polynomial likely~4M physical, < 4 daysmedium–high
Quantum dynamics, lattice modelsexponential (best-founded)not costed here; instance-dependentmedium–high
Unstructured search (Grover)quadraticillustrative sketch above: break-even needs months; see Babbush et al.low for early FT machines
Linear systems / HHLexponential only under strict input/output conditionsdepends on QRAM, which does not exist at scalelow
Optimisation (QAOA, annealing)unknown, heuristic—unproven
Quantum MLoften dequantized—unproven
Finance (Monte Carlo pricing)quadratic (amplitude estimation)same overhead problem as Groverlow
The engineer's filter. Ask three questions of any quantum application. Is the speedup superpolynomial, or at least quartic? Is the input small, or generated inside the machine, as with a Hamiltonian, rather than a big dataset that must be loaded? Is the answer a few numbers, not a large vector? Shor and chemistry pass all three. Grover fails the first, HHL-style ML usually fails the second and third, and QAOA cannot answer the first at all.

Sources and further reading, verified

Check yourself

  1. Shor by hand — Factor N = 15 with a = 7. List 7ˣ mod 15 for x = 0…4, read off r, and compute both gcds. A good answer finds r = 4, 7² ≡ 4, and factors gcd(3,15) = 3, gcd(5,15) = 5. Then explain why a = 14 fails.
  2. Period finding in numpy code — For N = 21, a = 2, M = 512, build the first-register amplitudes left after measuring f(x) = 1 (an indicator on x ≡ 0 mod r), normalise them, and apply np.fft.ifft(·, norm="ortho") as the QFT. Sample y from |amp|² and recover r with Fraction(y, M).limit_denominator(N). A good answer plots peaks near multiples of 512/6, recovers r = 6 within a few samples, and notes which samples give only a divisor of r.
  3. Grover break-even — Using N* = (P·t_q/t_c)² with P = 10⁴ and t_c = 1 ns, compute N* and the quantum runtime at break-even for t_q = 1 ms and for t_q = 10 µs. Then redo the 1 ms case for a hypothetical quartic speedup (N^(1/4) queries). A good answer gets 10²⁰ and about four months, then 10¹⁶ and about 17 minutes, and for the quartic case N* ≈ 2×10¹³ with about 2 seconds. It also notes that the quadratic break-even runtime is P·t_q²/t_c. The verdict therefore hinges on the error-correction cost t_q, while the quartic case holds up over a wide range of it, which is Babbush et al.'s point.
  4. Spot the leak — A startup claims "exponential speedup for portfolio optimisation via HHL on 10⁶ assets". Name every place in the pipeline where the speedup can disappear. A good answer covers loading the covariance matrix, the condition number, needing the full weight vector rather than one expectation value, and whether a dequantized classical algorithm already exists.
Next: 06 Challenges of Quantum Computation · Back to the map.