BQP vs Classical Classes
Where does 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 (), and is careful about what is believed versus what is known.
The proven sandwich
The containments that are theorems are
The first inclusions going up are easy. A deterministic computation is a randomized one that ignores its coins, so . 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 . The genuinely interesting inclusion is the upper one.
Why BQP ⊆ PSPACE
A polynomial-size quantum circuit on qubits acts on a state vector with 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
and each amplitude is a sum over computational paths:
Each path's contribution is a product of 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 . (A sharper analysis places , 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 -complete problems. There is no evidence for this. and are believed to be incomparable:
- is considered very unlikely. The natural quantum approach, Grover search, gives only a quadratic speedup for unstructured search and the BBBV lower bound (a later lesson) shows that is optimal in the black-box setting — far short of the exponential speedup a containment would require.
- is also doubtful: factoring is in and (as a decision problem) in , but problems like Forrelation give oracle evidence that contains things outside the polynomial hierarchy, hence outside relative to an oracle.
The cleanest summary: factoring sits in but is not believed -complete, so even a working quantum computer would not obviously crack every problem.
Separations are oracular, not absolute
We do not know . Proving it would, among other things, require proving , a long-standing open problem implied by the chain above (since 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 . 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
is sandwiched by theorems, is believed incomparable to , and is not known to be strictly larger than — that separation would resolve major open problems. Quantum advantage is a claim about time complexity within the decidable; it never escapes .
Sign in on the full site to ask questions and join the discussion.