|q⟩ Bad Qubits

advanced · Physics · Quantum Complexity Theory

BQP vs Classical Classes

Where does BQP\mathsf{BQP} sit among the classical classes? The honest answer is: pinned between two of them by theorems, but separated from them only by conjecture. This lesson lays out the proven containments, explains the one genuinely nontrivial upper bound (BQPPSPACE\mathsf{BQP} \subseteq \mathsf{PSPACE}), and is careful about what is believed versus what is known.

The proven sandwich

The containments that are theorems are

PBPPBQPPSPACEEXP.\mathsf{P} \subseteq \mathsf{BPP} \subseteq \mathsf{BQP} \subseteq \mathsf{PSPACE} \subseteq \mathsf{EXP}.

The first inclusions going up are easy. A deterministic computation is a randomized one that ignores its coins, so PBPP\mathsf{P} \subseteq \mathsf{BPP}. A quantum computer can simulate a classical reversible computation, and any randomized classical algorithm can be made reversible and have its coin flips supplied by Hadamard-prepared qubits measured at the end; hence BPPBQP\mathsf{BPP} \subseteq \mathsf{BQP}. The genuinely interesting inclusion is the upper one.

Why BQP ⊆ PSPACE

A polynomial-size quantum circuit on m=poly(n)m = \mathrm{poly}(n) qubits acts on a state vector with 2m2^m complex amplitudes — exponentially many to store all at once. The key insight is that we do not need to store them. The acceptance probability is

p(x)=y:y acceptsyCx2,p(x) = \sum_{y \,:\, y \text{ accepts}} \big| \braket{y | C | x} \big|^2 ,

and each amplitude yCgC1x\braket{y | C_g \cdots C_1 | x} is a sum over computational paths:

yCx=i1,,ig1yCgig1i1C1x.\braket{y | C | x} = \sum_{i_1, \dots, i_{g-1}} \braket{y|C_g|i_{g-1}} \cdots \braket{i_1|C_1|x}.

Each path's contribution is a product of g=poly(n)g = \mathrm{poly}(n) individual gate matrix entries, each computable to high precision in polynomial time and space. There are exponentially many paths, but we can enumerate them one at a time, accumulating the running sum and reusing the same polynomial-size memory cell for each path. Squaring and summing the accepting amplitudes likewise reuses space. The total time is exponential, but the space is polynomial — so BQPPSPACE\mathsf{BQP} \subseteq \mathsf{PSPACE}. (A sharper analysis places BQPPPPSPACE\mathsf{BQP} \subseteq \mathsf{PP} \subseteq \mathsf{PSPACE}, but the path-sum argument already gives the headline result.)

BQP vs NP: incomparable as far as we know

A common misconception is that quantum computers solve NP\mathsf{NP}-complete problems. There is no evidence for this. BQP\mathsf{BQP} and NP\mathsf{NP} are believed to be incomparable:

The cleanest summary: factoring sits in BQP\mathsf{BQP} but is not believed NP\mathsf{NP}-complete, so even a working quantum computer would not obviously crack every NP\mathsf{NP} problem.

Separations are oracular, not absolute

We do not know BQPBPP\mathsf{BQP} \ne \mathsf{BPP}. Proving it would, among other things, require proving PPSPACE\mathsf{P} \ne \mathsf{PSPACE}, a long-standing open problem implied by the chain above (since BPP=BQP\mathsf{BPP} = \mathsf{BQP} together with other collapses would propagate). What we do have are oracle separations: relative to a black-box function, problems like Simon's problem and Forrelation are exponentially easier for quantum machines than for classical ones, giving worlds in which BPPOBQPO\mathsf{BPP}^{\mathcal O} \ne \mathsf{BQP}^{\mathcal O}. Oracle separations are strong heuristic evidence but are not proofs about the unrelativized classes — there exist oracles relativizing the question both ways for many class pairs.

Takeaways

BQP\mathsf{BQP} is sandwiched BPPBQPPSPACE\mathsf{BPP} \subseteq \mathsf{BQP} \subseteq \mathsf{PSPACE} by theorems, is believed incomparable to NP\mathsf{NP}, and is not known to be strictly larger than BPP\mathsf{BPP} — that separation would resolve major open problems. Quantum advantage is a claim about time complexity within the decidable; it never escapes PSPACE\mathsf{PSPACE}.

Sign in on the full site to ask questions and join the discussion.