BQP and its place among classical complexity classes
BQP is the class of decision problems a quantum computer solves in polynomial time with bounded error; it sits between BPP and PP, and relative to an oracle it lies outside the whole polynomial hierarchy.
On this page15 sections
Every claim that quantum computers are faster in principle is a claim about BQP, and its known containments set the limits: nothing in BQP is beyond PSPACE, and NP-complete problems are not expected to be in it.
The set of problems quantum computers can solve efficiently, and how it compares with what ordinary computers can do.
- 1Classify problems by resources needed
- 2BQP: quick for quantum computers
- 3Contains P, inside PSPACE
- 4Proofs only in black-box settings
- 5Oracle puts BQP outside PH
Definitions. A decision problem asks a yes/no question about an input of bits. P: solvable by a deterministic algorithm in time polynomial in . BPP: solvable in polynomial time by a randomised algorithm that is right with probability at least (repeat and take a majority to make errors negligible). BQP: the same, but with polynomial-size quantum circuits. PSPACE: solvable with polynomial memory, however long it takes.
Known relations. . The upper bound comes from adding up the contributions of all computational paths one at a time, which needs little memory. Because of this, proving outright would also prove , a famous unsolved problem.
Oracle results. An oracle is a black box the algorithm can query. Counting queries makes lower bounds provable. Results include: Grover search needs about queries, so relative to a random oracle NP is not in BQP; Simon's problem separates BQP from BPP; and Raz and Tal (2018) proved that relative to an oracle based on the Forrelation problem (is one Boolean function correlated with the Fourier transform of another?), BQP is not contained in the polynomial hierarchy PH, a tower of classes built on NP.
Why it matters. Practical speedups come from problems in BQP believed to be outside BPP: factoring, discrete logarithms and simulating quantum systems. Open questions include whether BQP escapes PH without oracles, and whether a classical computer can check a quantum computer's answers.
Reading the inclusions. means a classical computer with modest memory can simulate any quantum computer, but possibly in exponential time. The question is never whether a classical computer can do it at all, only how fast.
Go deeper
The full technical text.
Definition
BQP (bounded-error quantum polynomial time), defined by Bernstein and Vazirani (1993; SIAM J. Comput. 1997), contains the decision problems solved by a uniform family of polynomial-size quantum circuits that accept yes-instances with probability at least and no-instances with probability at most . The choice of a finite universal gate set does not matter, since the Solovay–Kitaev theorem converts between gate sets with polylogarithmic overhead.
Containments
The first inclusion holds because quantum circuits can simulate classical randomness. Bernstein and Vazirani showed by summing amplitudes path by path, and Adleman, DeMarrais and Huang (1997) showed . Since , an unconditional proof that would prove , which is out of reach; all evidence for quantum speedups is therefore conditional or relative to oracles.
Oracle results
In the query (oracle) model separations can be proved outright. Simon's problem (1994) separates BQP from BPP relative to an oracle. Bennett, Bernstein, Brassard and Vazirani (1997) showed that relative to a random oracle, NP is not contained in BQP, which is part of why quantum computers are not expected to solve NP-complete problems efficiently. Aaronson (2010) proposed Forrelation-type problems to separate BQP from the polynomial hierarchy PH: he gave an oracle relation problem in BQP but not in PH and reduced the decision version to a "generalised Linial–Nisan conjecture". Aaronson and Ambainis (2015) showed Forrelation gives an essentially optimal 1 versus query separation. Raz and Tal (STOC 2019; J. ACM 2022) then proved an oracle relative to which , by showing that a Forrelation distribution fools constant-depth classical circuits; Wu (2020) gave a stochastic-calculus proof. Bravyi, Gosset, Grier and Schaeffer (2021) gave an classical algorithm for Forrelation and corrected an error in an earlier proof of the optimal quantum-to-classical query simulation.
Complete problems
BQP has no known complete language, but promise versions have natural complete problems: simulating local Hamiltonians, approximating the Jones polynomial at certain roots of unity (Aharonov, Jones and Landau, 2006), -fold Forrelation, and the matrix inversion problem of Harrow, Hassidim and Lloyd. Its quantum analogue of NP, QMA, has the local Hamiltonian problem as its complete problem (Kitaev), the starting point of the quantum PCP conjecture.
Why the boundary matters
Practical speedups come from problems believed to be in BQP but not BPP: factoring and discrete logarithms, simulation of quantum systems, and some algebraic problems. Whether BQP reaches beyond PH, and whether quantum computations can be verified classically, are the main structural questions left.
Words on this page (7)
- complexity class
- A set of problems solvable within a given resource budget.
- BQP
- Problems quantum computers solve in polynomial time with bounded error.
- NP
- Problems whose yes-answers can be checked quickly.
- PSPACE
- Problems solvable with a polynomial amount of memory.
- polynomial hierarchy
- A tower of classes generalising NP with alternating 'exists' and 'for all' questions.
- oracle
- A black box an algorithm can query; lower bounds are proved by counting queries.
- P versus NP
- The open question whether every quickly checkable problem is quickly solvable.
New to this? Read first (3)
- BQP (Wikipedia)Definition and known relations, with a diagram.
- Finally, a Problem That Only Quantum Computers Will Ever Be Able to Solve (Quanta Magazine)The Raz–Tal result explained for a general reader.
- Polynomial hierarchy (Wikipedia)What the hierarchy is.
Understanding map
map of the whole wiki →What to read before BQP and its place among classical complexity classes (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.
- Start with
- Step 2
- Step 3
- Quantum algorithmsAlgorithm
- Step 4
- Then
Open problems & questions
Progress timeline
- May 31, 2018Oracle separationRelated to: BQP versus the polynomial hierarchy: evidence beyond oracles that BQP ⊄ PHsource
Raz and Tal proved BQP is not in PH relative to an oracle (ECCC TR18-107).
- May 31, 2018Oracle separation of BQP and PHsource
Raz and Tal posted the oracle separation on ECCC (TR18-107); STOC 2019, J. ACM 2022.
- Apr 3, 2018Single-prover verification under LWERelated to: Classical verification of quantum computation without cryptographic assumptionssource
Mahadev gave classical verification of BQP with computational soundness.
- Apr 27, 2017Limits on blind protocolsRelated to: Classical verification of quantum computation without cryptographic assumptionssource
Aaronson, Cojocaru, Gheorghiu and Kashefi gave complexity-theoretic limits on classical-interaction blind protocols.
- Sep 3, 2012Two-prover classical verificationRelated to: Classical verification of quantum computation without cryptographic assumptionssource
Reichardt, Unger and Vazirani used CHSH rigidity to let a classical verifier command two quantum provers.
- May 9, 2010Sampling collapse resultRelated to: BQP versus the polynomial hierarchy: evidence beyond oracles that BQP ⊄ PHsource
Bremner, Jozsa and Shepherd showed exact classical IQP sampling would collapse PH.
- Oct 25, 2009Forrelation programmeRelated to: BQP versus the polynomial hierarchy: evidence beyond oracles that BQP ⊄ PHsource
Aaronson proposed Forrelation-type problems and the generalised Linial–Nisan conjecture.
- Oct 25, 2009BQP versus PH programmesource
Aaronson gave a relation-problem separation and proposed Forrelation-type decision problems.
- Jul 25, 2008Universal blind quantum computationRelated to: Classical verification of quantum computation without cryptographic assumptionssource
Broadbent, Fitzsimons and Kashefi gave blind, verifiable delegation for a verifier that prepares single qubits.
- Jan 1, 1997NP not in BQP relative to a random oraclesource
Bennett, Bernstein, Brassard and Vazirani proved the search bound and its oracle consequence.
- May 1, 1993BQP definedsource
Bernstein and Vazirani introduced quantum complexity theory at STOC 1993 (month only); journal version 1997.