Skip to content
DAH

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
Why other work relies on it

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.

  1. 1Classify problems by resources needed
  2. 2BQP: quick for quantum computers
  3. 3Contains P, inside PSPACE
  4. 4Proofs only in black-box settings
  5. 5Oracle puts BQP outside PH

Definitions. A decision problem asks a yes/no question about an input of nn bits. P: solvable by a deterministic algorithm in time polynomial in nn. BPP: solvable in polynomial time by a randomised algorithm that is right with probability at least 2/32/3 (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. P⊆BPP⊆BQP⊆PP⊆PSPACE\mathsf{P}\subseteq\mathsf{BPP}\subseteq\mathsf{BQP}\subseteq\mathsf{PP}\subseteq\mathsf{PSPACE}. 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 BQP≠BPP\mathsf{BQP}\ne\mathsf{BPP} outright would also prove P≠PSPACE\mathsf{P}\ne\mathsf{PSPACE}, 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 N\sqrt N 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. BQP⊆PSPACE\mathsf{BQP}\subseteq\mathsf{PSPACE} 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 2/32/3 and no-instances with probability at most 1/31/3. The choice of a finite universal gate set does not matter, since the Solovay–Kitaev theorem converts between gate sets with polylogarithmic overhead.

Containments

BPP⊆BQP⊆PP⊆PSPACE.\mathsf{BPP}\subseteq\mathsf{BQP}\subseteq\mathsf{PP}\subseteq\mathsf{PSPACE}.

The first inclusion holds because quantum circuits can simulate classical randomness. Bernstein and Vazirani showed BQP⊆PSPACE\mathsf{BQP}\subseteq\mathsf{PSPACE} by summing amplitudes path by path, and Adleman, DeMarrais and Huang (1997) showed BQP⊆PP\mathsf{BQP}\subseteq\mathsf{PP}. Since BQP⊆PSPACE\mathsf{BQP}\subseteq\mathsf{PSPACE}, an unconditional proof that BQP≠BPP\mathsf{BQP}\ne\mathsf{BPP} would prove P≠PSPACE\mathsf{P}\ne\mathsf{PSPACE}, 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 Ω~(N)\tilde\Omega(\sqrt N) query separation. Raz and Tal (STOC 2019; J. ACM 2022) then proved an oracle relative to which BQP⊈PH\mathsf{BQP}\not\subseteq\mathsf{PH}, 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 O(n2n/2)O(n2^{n/2}) 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), kk-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)
Words on this page
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)
New to this? Read first

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.

  1. Start with
  2. Step 2
  3. Step 3
  4. Step 4
  5. Then

Open problems & questions

Progress timeline

  1. May 31, 2018
    Oracle separation
    Related to: BQP versus the polynomial hierarchy: evidence beyond oracles that BQP ⊄ PH

    Raz and Tal proved BQP is not in PH relative to an oracle (ECCC TR18-107).

    source
  2. May 31, 2018
    Oracle separation of BQP and PH

    Raz and Tal posted the oracle separation on ECCC (TR18-107); STOC 2019, J. ACM 2022.

    source
  3. Apr 3, 2018
    Single-prover verification under LWE
    Related to: Classical verification of quantum computation without cryptographic assumptions

    Mahadev gave classical verification of BQP with computational soundness.

    source
  4. Apr 27, 2017
    Limits on blind protocols
    Related to: Classical verification of quantum computation without cryptographic assumptions

    Aaronson, Cojocaru, Gheorghiu and Kashefi gave complexity-theoretic limits on classical-interaction blind protocols.

    source
  5. Sep 3, 2012
    Two-prover classical verification
    Related to: Classical verification of quantum computation without cryptographic assumptions

    Reichardt, Unger and Vazirani used CHSH rigidity to let a classical verifier command two quantum provers.

    source
  6. May 9, 2010
    Sampling collapse result
    Related to: BQP versus the polynomial hierarchy: evidence beyond oracles that BQP ⊄ PH

    Bremner, Jozsa and Shepherd showed exact classical IQP sampling would collapse PH.

    source
  7. Oct 25, 2009
    Forrelation programme
    Related to: BQP versus the polynomial hierarchy: evidence beyond oracles that BQP ⊄ PH

    Aaronson proposed Forrelation-type problems and the generalised Linial–Nisan conjecture.

    source
  8. Oct 25, 2009
    BQP versus PH programme

    Aaronson gave a relation-problem separation and proposed Forrelation-type decision problems.

    source
  9. Jul 25, 2008
    Universal blind quantum computation
    Related to: Classical verification of quantum computation without cryptographic assumptions

    Broadbent, Fitzsimons and Kashefi gave blind, verifiable delegation for a verifier that prepares single qubits.

    source
  10. Jan 1, 1997
    NP not in BQP relative to a random oracle

    Bennett, Bernstein, Brassard and Vazirani proved the Ω(N)\Omega(\sqrt N) search bound and its oracle consequence.

    source
  11. May 1, 1993
    BQP defined

    Bernstein and Vazirani introduced quantum complexity theory at STOC 1993 (month only); journal version 1997.

    source