Why Quantum?
Page 01 set up a probabilistic computer: a vector of 2ⁿ non-negative probabilities pushed around by stochastic matrices, with the extended Church–Turing thesis claiming that model captures everything physically efficient. This page asks what would justify building a different machine. The short answer is that nature itself seems to violate the thesis. The useful answer says exactly where it does and where it doesn't, so that later pages have a yardstick for every claimed application.
Feynman's argument: physics is expensive to simulate
In a 1981 talk, published in 1982 as "Simulating physics with computers", Richard Feynman asked whether a classical computer could simulate quantum physics efficiently. A useful test case is n interacting spin-½ particles, for example the magnetic moments in a material. Writing down a general state takes one complex amplitude for each of the 2ⁿ classical configurations:
Storage is only the start. Time evolution multiplies that vector by a 2ⁿ × 2ⁿ unitary. Every added particle doubles the cost. Physicists have clever workarounds that do well on many real systems. Tensor networks work for weakly entangled states, and density functional theory and coupled cluster work for weakly correlated molecules. Quantum Monte Carlo samples configurations with probability weights. The workarounds run out on strongly correlated systems: transition-metal catalysts, high-temperature superconductors, frustrated magnets. Fermions and frustration produce weights of both signs. That is the "sign problem", and it makes the Monte Carlo variance blow up exponentially.
Feynman's sharper point was that this isn't a weakness of current algorithms. A local classical probabilistic machine cannot reproduce some quantum correlations at all; Bell-type experiments rule it out. His proposal was to stop fighting and build a machine whose own state is a quantum state, controllable enough to imitate the system you care about. In 1996 Seth Lloyd showed that the idea works for any system with local interactions. A universal quantum computer can approximate its time evolution with a number of gates polynomial in n and in the simulated time. That result is the first, and still the most robust, reason to want the machine.
The state space is big, but that isn't the speedup
The tempting conclusion from 2ⁿ amplitudes is "n qubits do 2ⁿ computations in parallel". Drop it. Recall from page 01 that a probabilistic computer on n bits is also described by a 2ⁿ-entry vector, and nobody thinks coin-flipping gives exponential speedups. In both cases you see one n-bit outcome per run. You never see the vector.
The difference is what the entries are and how they combine. Think of a computation as many paths from input to output. Classically, the probability of an output is the sum of the probabilities of the paths that reach it. Every term is non-negative, so adding paths can only raise a probability. Quantumly, you add amplitudes and then square:
That minus sign is the whole resource. A quantum algorithm is an arrangement of gates in which the paths to wrong answers cancel (destructive interference) and the paths to the answer you want reinforce (constructive interference). Then a single measurement lands on a useful outcome with high probability. Page 03 shows the physics of this with a two-path interferometer, and page 04 builds the matrices.
It follows that a quantum speedup needs a problem with global structure that an interference pattern can be tuned to. If the answer is an arbitrary needle with no relationship to anything else, there is nothing for the cancellation to work with. Grover's algorithm shows how far you can still get then, which is only a square root.
Which problems have structure a quantum computer can use
After forty years, the problems with large, well-understood quantum speedups fall into a short list. The Quantum Algorithm Zoo catalogues hundreds of papers, but most of the big speedups are variations on these:
- Simulating quantum systems. Feynman's case. Simulating dynamics (how a state evolves) is efficient for local Hamiltonians, and so is estimating the energy of a state you can already prepare, via phase estimation. Finding a ground state from scratch is QMA-hard in general, hard even for a quantum computer, so advantage in chemistry depends on preparing a good starting state. A careful 2022 survey by Lee, Chan, Preskill and colleagues concluded that evidence for generic exponential advantage in ground-state chemistry "has yet to be found". The case rests on specific hard instances, not on all of chemistry.
- Period finding and the hidden subgroup problem. Given f with a hidden period (f(x) = f(x + r)), the quantum Fourier transform makes all the wrong frequencies cancel, so measurement reveals r. Shor (1994) reduced factoring and discrete logarithms to period finding. That breaks RSA, Diffie–Hellman and elliptic-curve cryptography in polynomial time, roughly O(n³) gates for an n-bit modulus with schoolbook arithmetic. The general pattern is the abelian hidden subgroup problem. Non-abelian versions, and the lattice problems underneath post-quantum cryptography, have no known efficient quantum algorithm. That gap is why post-quantum cryptography exists.
- Unstructured search. Grover (1996): find a marked item among N using O(√N) oracle calls instead of O(N). It applies to almost anything with a checkable answer. The gain is only quadratic, and it is provably optimal: Bennett, Bernstein, Brassard and Vazirani showed that no quantum algorithm does better on a black box. Amplitude estimation gives the same quadratic gain for Monte Carlo sampling.
Linear-systems solvers (HHL), optimisation heuristics (QAOA, annealing) and quantum machine learning come up constantly. Each either has a quadratic-or-unknown speedup, or carries fine print about loading data in and reading answers out that removes most of the advantage in practice. Page 05 takes them apart one by one.
BQP vs NP: what quantum computers are not
The complexity class for "efficient on a quantum computer" is BQP. It contains the decision problems solvable by a polynomial-size quantum circuit family that answers correctly with probability ≥ 2/3. It is the quantum analogue of BPP from page 01. The containments we can prove are modest:
None of these inclusions is known to be strict (and P = BPP is widely believed); proving BPP ≠ BQP would prove P ≠ PSPACE, a major open problem. So "quantum computers are exponentially faster" is a belief, supported by evidence. Factoring is the flagship example. It is in BQP, and the best known classical algorithm (the number field sieve) runs in sub-exponential but super-polynomial time. Nobody has proven factoring is classically hard.
Factoring is also not believed to be NP-complete. It lies in NP ∩ coNP, and an NP-complete problem there would collapse the polynomial hierarchy. Shor tells you nothing about the travelling salesman, SAT, or scheduling. For those, the evidence says quantum computers do not help exponentially:
- The BBBV bound above says black-box search needs Ω(√N) queries. Brute-forcing 2ⁿ SAT assignments therefore drops only to about 2^(n/2), which is still exponential.
- Raz and Tal (2018) built an oracle relative to which BQP is not contained in the polynomial hierarchy. That is evidence that BQP and NP are incomparable: each contains problems the other is not believed to.
Oracle results are evidence, not proof, but every serious researcher works from the same picture:
Hardware progress cannot shift this boundary. As far as anyone knows, even a perfect million-qubit machine would still need exponential time for SAT.
The honest scorecard of speedup types
When someone pitches a quantum application, the first question is which row of this table it belongs to. "Speedup" here means asymptotic, against the best known classical algorithm:
| Speedup type | Examples | Classical → quantum | How sure are we? |
|---|---|---|---|
| Exponential (super-polynomial) | Factoring, discrete log (Shor); dynamics of many-body quantum systems | sub-exp or exp → poly | Algorithm proven; classical hardness believed, not proven |
| Exponential, instance-dependent | Ground-state energies of strongly correlated molecules and materials | exp (for some instances) → poly, given a good initial state | Plausible for specific hard cases; not generic across chemistry |
| Polynomial (super-quadratic) | Some structured simulation, sampling and algebraic problems | N^k → N^j, k/j > 2 | Case by case |
| Quadratic | Grover search, amplitude estimation for Monte Carlo, many optimisation subroutines | N → √N | Proven, but rarely useful once error-correction overheads are counted |
| None known / unproven | NP-complete problems in general, QAOA and annealing heuristics, most quantum ML | exp → exp, or heuristic | No demonstrated advantage |
The quadratic row disappoints for a concrete reason. Asymptotic speedups ignore constant factors, and fault-tolerant quantum gates are slow. Each logical operation is carried out by many physical qubits running error-correction cycles (page 06). Here is the arithmetic with illustrative numbers. A classical check costs t_c = 1 ns, and one error-corrected Grover iteration, oracle included, costs t_q = 1 ms:
Grover does not parallelise well, and classical search parallelises perfectly. So the quantum machine wins only on problems so large that it would have to run for decades. Babbush and colleagues did this analysis carefully with real surface-code costs. They concluded that quadratic speedups "will not enable quantum advantage on early generations" of fault-tolerant machines, while quartic speedups look much more practical. Hoefler, Häner and Troyer reached the same verdict: useful applications need super-quadratic speedups and small inputs and outputs. Their best candidates are chemistry and materials science.
The cryptography motivation, briefly
Shor's algorithm gives a quantum computer an application with obvious, immediate stakes: RSA and elliptic-curve cryptography protect almost every TLS session, software update signature and key exchange on the internet. A cryptographically relevant quantum computer does not exist today. The resource estimate has fallen fast, though. A 2025 analysis by Gidney estimates that 2048-bit RSA could be factored by fewer than one million noisy qubits in under a week preprint. It assumes a 0.1% gate error rate, a 1 µs error-correction cycle and nearest-neighbour connectivity. That is about 20× fewer qubits than the 2019 estimate of 20 million (arXiv 2505.15917).
The threat already applies to data recorded today, through "harvest now, decrypt later". An adversary who stores encrypted traffic now can decrypt it whenever the machine arrives. Any secret that must stay secret for ten or more years is exposed already. This is why NIST's final transition guidance (October 2026) deprecates RSA, ECDSA, EdDSA, Diffie–Hellman and ECDH after 2030 and disallows them after 2035, at any key size (NIST IR 8547). Page 05 explains how Shor works and how the resource estimates have evolved. Pages 08 and 09 cover the deadlines and what to do about them.
Sources and further reading, verified
- Simulating physics with computers — Richard P. Feynman (1982) · the original argument that quantum systems need a quantum simulator.
- Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer — Peter W. Shor (1995/97) · period finding and the exponential speedup that motivates the field.
- A fast quantum mechanical algorithm for database search — Lov K. Grover (1996) · the quadratic speedup for unstructured search.
- Strengths and Weaknesses of Quantum Computing — Bennett, Bernstein, Brassard, Vazirani (1997) · proves Grover is optimal; black-box NP search stays exponential.
- Oracle Separation of BQP and PH — Ran Raz, Avishay Tal (2018) · evidence that BQP sits outside the classical hierarchy and is incomparable with NP.
- The Limits of Quantum Computers (draft) — Scott Aaronson (2008) · the clearest non-technical takedown of "tries all answers at once".
- Quantum computing and the entanglement frontier — John Preskill (2012) · why controllable quantum systems are scientifically new, and where "quantum supremacy" was named.
- Is there evidence for exponential quantum advantage in quantum chemistry? — Lee, Chan, Preskill et al. (2022) · the sober check on the strongest application.
- Focus beyond quadratic speedups for error-corrected quantum advantage — Babbush, McClean, Newman, Gidney, Boixo, Neven (2020; PRX Quantum 2021) · the surface-code arithmetic behind the quadratic row.
- Disentangling Hype from Practicality: On Realistically Achieving Quantum Advantage — Hoefler, Häner, Troyer (2023; CACM) · super-quadratic speedups and small I/O as the filters.
- Quantum Algorithm Zoo — Stephen Jordan (maintained) · the catalogue of known quantum algorithms and their speedups.
- NIST IR 8547: Transition to Post-Quantum Cryptography Standards — NIST (final, Oct 2026) · the 2030 deprecation and 2035 disallow dates.
Check yourself
- Statevector wall code — Write a numpy function that allocates a random normalised complex128 state on n qubits and applies a Hadamard to qubit 0 by reshaping to (2, 2**(n-1)). Time it for n = 20…28 and fit the doubling. Extrapolate memory and time to n = 50. A good answer reports ~16·2ⁿ bytes, shows runtime doubling per qubit, and explains why tensor networks escape this wall only for low-entanglement states.
- Cancellation vs coin flips — Take two paths to the same output with amplitudes +1/√2 · 1/√2 and −1/√2 · 1/√2. Compute the output probability quantumly and classically, using squared magnitudes as path probabilities. Then explain in two sentences why no stochastic matrix with non-negative entries can produce the quantum answer.
- Grover break-even — Using the scorecard's model, derive the general break-even N* = (P · t_q / t_c)² for P classical cores. With t_c = 1 ns, find the largest t_q for which the quantum machine wins within one day against P = 1,000. A good answer gets quantum time = P·t_q²/t_c, so t_q ≈ 0.3 ms, and notes that a whole oracle call must then fit in a few hundred surface-code cycles of ~1 µs.
- Classify the pitch — Place each in a scorecard row and justify: (a) breaking AES-128 by key search; (b) ground-state energy of an iron–sulfur catalyst; (c) "quantum portfolio optimisation"; (d) 3-SAT on 1,000 variables. Expect: (a) quadratic, so AES-256 suffices; (b) instance-dependent exponential; (c) unproven/heuristic; (d) still exponential, about 2⁵⁰⁰ even with Grover.