QuantumAtlas

Research Explained · Theory

Quantum Complexity Theory

Ethan Bernstein and Umesh Vazirani

University of California, Berkeley · 1997 (conference version 1993) · Difficulty ★★★★★

Reference

Bernstein, E., & Vazirani, U. (1997). Quantum complexity theory. SIAM Journal on Computing, 26(5), 1411-1473. Conference version: Proceedings of the 25th Annual ACM Symposium on Theory of Computing (1993), 11-20.

This page is an independent explanation. For exact wording, figures, and data, read the original paper.

The short version

Bernstein and Vazirani give the first rigorous foundation for the theory of quantum computation. They define the quantum Turing machine carefully, show that a universal one exists, define the complexity class BQP, and give evidence that quantum computers are more powerful than classical probabilistic ones.

Key findings

  • A universal quantum Turing machine exists that simulates any other quantum Turing machine with only polynomial slowdown.
  • The class BQP, problems solvable in polynomial time with bounded error on a quantum computer, is defined, and it is shown to be contained in PSPACE.
  • A problem called Fourier sampling is solved with one quantum query, while a classical machine needs n queries.
  • A recursive version of the problem gives an oracle separating quantum polynomial time from classical bounded-error polynomial time, with a super-polynomial gap.

Background: why this paper was written

Deutsch had defined a quantum Turing machine in 1985, but the definition was loose, and it was not clear whether a universal machine existed that could simulate every other quantum machine efficiently. Without a rigorous model, claims about the power of quantum computers could not be stated precisely, and it was unclear what resources should be counted.

Bernstein and Vazirani, at Berkeley, wanted to put the subject on the same footing as classical complexity theory. Their paper appeared at the Symposium on Theory of Computing in 1993, a year before Simon's and Shor's algorithms, and a long journal version followed in 1997.

What the researchers did

The authors define a quantum Turing machine as a Turing machine whose transition function maps each configuration to a superposition of next configurations, with amplitudes that are computable complex numbers and with a unitary overall evolution. They give a careful treatment of what it means for the machine to halt and of how to ensure that the evolution is reversible and unitary, a technical issue that had been glossed over.

They prove that a single universal quantum Turing machine can simulate any other with polynomial slowdown, which makes it possible to define a single complexity class for the quantum model. They define BQP, the class of languages decided with error at most one third in polynomial time, and show that BPP is contained in BQP and BQP is contained in a classical class related to counting, which places it within PSPACE.

To show an advantage, they define the Fourier sampling problem. Given an oracle for a function that computes the parity of a hidden subset of input bits, find the subset. A classical machine needs n queries, while a quantum machine solves it with one by applying Hadamard transforms. Recursive Fourier sampling nests this problem in layers, so that classical algorithms need n to the power of order log n queries while a quantum algorithm needs polynomially many, giving an oracle relative to which BQP is not contained in BPP.

Results

The paper provides the formal basis for quantum complexity theory, and the universal machine and BQP class are standard.

The oracle separation was the first evidence of a super-polynomial advantage over probabilistic classical computers, a year before Simon's problem gave an exponential separation by a simpler route.

Yao showed in 1993 that the quantum circuit model is equivalent to the quantum Turing machine, which justified using circuits in later work.

Key facts and numbers

ItemDetail
Year1993 conference; 1997 journal version
Class definedBQP, bounded-error quantum polynomial time
Containments shownBPP in BQP in PSPACE
Fourier sampling1 quantum query versus n classical queries
Recursive versionOracle separation of BQP and BPP with a super-polynomial gap

Limitations and caveats

An oracle separation is not a proof that BQP differs from BPP without oracles. That question remains open and would imply a major result about classical complexity.

The paper's treatment of computable amplitudes and of precision requires care, and some technical aspects, such as the exact role of approximate gates, were refined later.

The Fourier sampling problem is artificial and has no direct application.

Why it matters

Nearly all later work in quantum complexity, including discussions of what problems quantum computers can solve, relies on the definitions in this paper, and BQP is the standard way to state what an efficient quantum computation is.

What happened next

The paper made BQP the central object of quantum complexity. Shor's algorithm placed factoring in BQP, and later work on QMA, the quantum analogue of NP, and on the hardness of sampling tasks builds on the same framework.

The result that BQP is contained in PSPACE explains why proving that quantum computers are more powerful than classical ones without assumptions would also separate P from PSPACE, a major open problem.

How to read the original paper

The introduction and the discussion of the model are readable. The technical sections on the simulation of quantum Turing machines are dense, and most readers will rely on the results.

The BQP page on this site summarizes the class and its relations to other classes.

Original abstract (paraphrased)

In this paper the authors lay the foundations for quantum computational complexity theory. They give a rigorous definition of the quantum Turing machine, prove that a universal quantum Turing machine exists that can simulate others with polynomial overhead, define complexity classes such as BQP, and show relationships to classical classes. They also exhibit a problem solvable in polynomial time on a quantum machine for which no classical probabilistic machine is known to do so, relative to an oracle.

Frequently asked questions

What is BQP?

The class of decision problems that a quantum computer can solve in polynomial time with a small probability of error.

What did Bernstein and Vazirani prove?

That a universal quantum Turing machine exists, that BQP lies between BPP and PSPACE, and that an oracle problem separates quantum from classical probabilistic computation.

Is BQP larger than P?

It is believed to be, because it contains factoring, but this has not been proved.

Keep exploring

Explanations on this page summarize published work for education (last reviewed September 30, 2026). Numbers are taken from the cited paper or from widely reported follow-up work, and later results may have updated or challenged them. Check the reference above before citing.

← Back to all research papers