BQP Complexity Class Diagram
   HOME

TheInfoList



OR:

In
computational complexity theory In theoretical computer science and mathematics, computational complexity theory focuses on classifying computational problems according to their resource usage, and relating these classes to each other. A computational problem is a task solved ...
, bounded-error quantum polynomial time (BQP) is the class of decision problems solvable by a quantum computer in polynomial time, with an error probability of at most 1/3 for all instances.Michael Nielsen and Isaac Chuang (2000). ''Quantum Computation and Quantum Information''. Cambridge: Cambridge University Press. . It is the quantum analogue to the
complexity class In computational complexity theory, a complexity class is a set (mathematics), set of computational problems of related resource-based computational complexity, complexity. The two most commonly analyzed resources are time complexity, time and spa ...
BPP BPP may refer to: Education * BPP Holdings, a holding company based in the United Kingdom * BPP Law School, a law school based in the United Kingdom and a constituent school of BPP University * BPP University, a private university based in the ...
. A decision problem is a member of BQP if there exists a quantum algorithm (an
algorithm In mathematics and computer science, an algorithm () is a finite sequence of rigorous instructions, typically used to solve a class of specific problems or to perform a computation. Algorithms are used as specifications for performing ...
that runs on a quantum computer) that solves the decision problem
with high probability In mathematics, an event that occurs with high probability (often shortened to w.h.p. or WHP) is one whose probability depends on a certain number ''n'' and goes to 1 as ''n'' goes to infinity, i.e. the probability of the event occurring can be ma ...
and is guaranteed to run in polynomial time. A run of the algorithm will correctly solve the decision problem with a probability of at least 2/3.


Definition

BQP can be viewed as the languages associated with certain bounded-error uniform families of
quantum circuit In quantum information theory, a quantum circuit is a model for quantum computation, similar to classical circuits, in which a computation is a sequence of quantum gates, measurements, initializations of qubits to known values, and possibly o ...
s. A language ''L'' is in BQP if and only if there exists a polynomial-time uniform family of quantum circuits \, such that * For all n \in \mathbb, ''Qn'' takes ''n'' qubits as input and outputs 1 bit * For all ''x'' in ''L'', \mathrm(Q_(x)=1)\geq \tfrac * For all ''x'' not in ''L'', \mathrm(Q_(x)=0)\geq \tfrac Alternatively, one can define BQP in terms of
quantum Turing machine A quantum Turing machine (QTM) or universal quantum computer is an abstract machine used to model the effects of a quantum computer. It provides a simple model that captures all of the power of quantum computation—that is, any quantum algori ...
s. A language ''L'' is in BQP if and only if there exists a polynomial quantum Turing machine that accepts ''L'' with an error probability of at most 1/3 for all instances. Similarly to other "bounded error" probabilistic classes the choice of 1/3 in the definition is arbitrary. We can run the algorithm a constant number of times and take a majority vote to achieve any desired probability of correctness less than 1, using the
Chernoff bound In probability theory, the Chernoff bound gives exponentially decreasing bounds on tail distributions of sums of independent random variables. Despite being named after Herman Chernoff, the author of the paper it first appeared in, the result is d ...
. The complexity class is unchanged by allowing error as high as 1/2 − ''n''−''c'' on the one hand, or requiring error as small as 2−''nc'' on the other hand, where ''c'' is any positive constant, and ''n'' is the length of input.


A BQP-complete problem

Similar to the notion of
NP-completeness In computational complexity theory, a problem is NP-complete when: # it is a problem for which the correctness of each solution can be verified quickly (namely, in polynomial time) and a brute-force search algorithm can find a solution by trying ...
and other complete problems, we can define a BQP-complete problem as a problem that is in BQP and that every problem in BQP reduces to it in polynomial time. Here is an intuitive BQP-complete problem, which stems directly from the definition of BQP.


APPROX-QCIRCUIT-PROB problem

Given a description of a quantum circuit C acting on n qubits with m gates, where m is a polynomial in n and each gate acts on one or two qubits, and two numbers \alpha, \beta \in ,1 \alpha > \beta, distinguish between the following two cases: * measuring the first qubit of the state C, 0\rangle^ yields , 1\rangle with probability \geq \alpha * measuring the first qubit of the state C, 0\rangle^ yields , 1\rangle with probability \leq \beta Note that the problem does not specify the behavior if an instance is not covered by these two cases. Claim. Any BQP problem reduces to APPROX-QCIRCUIT-PROB. Proof. Suppose we have an algorithm A that solves APPROX-QCIRCUIT-PROB, i.e., given a quantum circuit C acting on n qubits, and two numbers \alpha, \beta \in ,1 \alpha > \beta, A distinguishes between the above two cases. We can solve any problem in BQP with this oracle, by setting \alpha = 2/3, \beta = 1/3. For any L \in \mathrm , there exists family of quantum circuits \ such that for all n \in \mathbb, a state , x\rangle of n qubits, if x \in L, Pr(Q_n(, x\rangle)=1) \geq 2/3; else if x \notin L, Pr(Q_n(, x\rangle)=0) \geq 2/3 . Fix an input , x\rangle of n qubits, and the corresponding quantum circuit Q_n. We can first construct a circuit C_x such that C_x, 0\rangle^ = , x\rangle. This can be done easily by hardwiring , x\rangle and apply a sequence of
CNOT In computer science, the controlled NOT gate (also C-NOT or CNOT), controlled-''X'' gate'','' controlled-bit-flip gate, Feynman gate or controlled Pauli-X is a quantum logic gate that is an essential component in the construction of a gate-base ...
gates to flip the qubits. Then we can combine two circuits to get C' = C_xQ_n, and now C', 0\rangle^ = Q_n, x\rangle. And finally, necessarily the results of Q_n is obtained by measuring several qubits and apply some (classical) logic gates to them. We can always defer the measurement and reroute the circuits so that by measuring the first qubit of C', 0\rangle^ = Q_n, x\rangle, we get the output. This will be our circuit C, and we decide the membership of x in L by running A(C) with \alpha = 2/3, \beta = 1/3. By definition of BQP, we will either fall into the first case (acceptance), or the second case (rejection), so L \in \mathrm reduces to APPROX-QCIRCUIT-PROB. APPROX-QCIRCUIT-PROB comes handy when we try to prove the relationships between some well-known complexity classes and BQP.


Relationship to other complexity classes

BQP is defined for quantum computers; the corresponding complexity class for classical computers (or more formally for
probabilistic Turing machine In theoretical computer science, a probabilistic Turing machine is a non-deterministic Turing machine that chooses between the available transitions at each point according to some probability distribution. As a consequence, a probabilistic Turi ...
s) is
BPP BPP may refer to: Education * BPP Holdings, a holding company based in the United Kingdom * BPP Law School, a law school based in the United Kingdom and a constituent school of BPP University * BPP University, a private university based in the ...
. Just like P and BPP, BQP is low for itself, which means BQPBQP = BQP. Informally, this is true because polynomial time algorithms are closed under composition. If a polynomial time algorithm calls polynomial time algorithms as subroutines, the resulting algorithm is still polynomial time. BQP contains P and
BPP BPP may refer to: Education * BPP Holdings, a holding company based in the United Kingdom * BPP Law School, a law school based in the United Kingdom and a constituent school of BPP University * BPP University, a private university based in the ...
and is contained in AWPP, PP and
PSPACE In computational complexity theory, PSPACE is the set of all decision problems that can be solved by a Turing machine using a polynomial amount of space. Formal definition If we denote by SPACE(''t''(''n'')), the set of all problems that can b ...
. In fact, BQP is low for PP, meaning that a PP machine achieves no benefit from being able to solve BQP problems instantly, an indication of the possible difference in power between these similar classes. The known relationships with classic complexity classes are: :\mathsf As the problem of P ≟ PSPACE has not yet been solved, the proof of inequality between BQP and classes mentioned above is supposed to be difficult. The relation between BQP and NP is not known. In May 2018, computer scientists Ran Raz of
Princeton University Princeton University is a private research university in Princeton, New Jersey. Founded in 1746 in Elizabeth as the College of New Jersey, Princeton is the fourth-oldest institution of higher education in the United States and one of the ...
and Avishay Tal of Stanford University published a paper which showed that, relative to an oracle, BQP was not contained in PH. It can be proven that there exists an oracle A such that BQPA \nsubseteq PHA. In an extremely informal sense, this can be thought of as giving PH and BQP an identical, but additional, capability and verifying that BQP with the oracle (BQPA) can do things PHA cannot. While an oracle separation has been proven, the fact that BQP is not contained in PH has not been proven. An oracle separation does not prove whether or not complexity classes are the same. The oracle separation gives intuition that BQP may not be contained in PH. It has been suspected for many years that Fourier Sampling is a problem that exists within BQP, but not within the polynomial hierarchy. Recent conjectures have provided evidence that a similar problem, Fourier Checking, also exists in the class BQP without being contained in the
polynomial hierarchy In computational complexity theory, the polynomial hierarchy (sometimes called the polynomial-time hierarchy) is a hierarchy of complexity classes that generalize the classes NP and co-NP. Each class in the hierarchy is contained within PSPACE. ...
. This conjecture is especially notable because it suggests that problems existing in BQP could be classified as harder than
NP-Complete In computational complexity theory, a problem is NP-complete when: # it is a problem for which the correctness of each solution can be verified quickly (namely, in polynomial time) and a brute-force search algorithm can find a solution by trying ...
problems. Paired with the fact that many practical BQP problems are suspected to exist outside of P (it is suspected and not verified because there is no proof that
P ≠ NP The P versus NP problem is a major unsolved problem in theoretical computer science. In informal terms, it asks whether every problem whose solution can be quickly verified can also be quickly solved. The informal term ''quickly'', used above ...
), this illustrates the potential power of quantum computing in relation to classical computing. Adding
postselection In probability theory, to postselect is to condition a probability space upon the occurrence of a given event. In symbols, once we postselect for an event E, the probability of some other event F changes from \operatorname /math> to the conditional ...
to BQP results in the complexity class
PostBQP In computational complexity theory, PostBQP is a complexity class consisting of all of the computational problems solvable in polynomial time on a quantum Turing machine with postselection and bounded error (in the sense that the algorithm is corr ...
which is equal to PP.. Preprint available a

/ref> We will prove or discuss some of these results below.


BQP and EXP

We begin with an easier containment. To show that \mathsf \subseteq \mathsf, it suffices to show that APPROX-QCIRCUIT-PROB is in EXP since APPROX-QCIRCUIT-PROB is BQP-complete. Note that this algorithm also requires 2^ space to store the vectors and the matrices. We will show in the following section that we can improve upon the space complexity.


BQP and PSPACE

To prove \mathsf \subseteq \mathsf, we first introduce a technique called the sum of histories.


Sum of Histories

Sum of histories is a technique introduced by physicist
Richard Feynman Richard Phillips Feynman (; May 11, 1918 – February 15, 1988) was an American theoretical physicist, known for his work in the path integral formulation of quantum mechanics, the theory of quantum electrodynamics, the physics of the superfl ...
for
path integral formulation The path integral formulation is a description in quantum mechanics that generalizes the action principle of classical mechanics. It replaces the classical notion of a single, unique classical trajectory for a system with a sum, or functional i ...
. We apply this technique to quantum computing to solve APPROX-QCIRCUIT-PROB. Consider a quantum circuit , which consists of gates, g_1, g_2, \cdots, g_m, where each g_j comes from a universal gate set and acts on at most two qubits. To understand what the sum of histories is, we visualize the evolution of a quantum state given a quantum circuit as a tree. The root is the input , 0\rangle^, and each node in the tree has 2^n children, each representing a state in \mathbb C^n. The weight on a tree edge from a node in -th level representing a state , x\rangle to a node in j+1-th level representing a state , y\rangle is \langle y, g_, x\rangle, the amplitude of , y\rangle after applying g_ on , x\rangle. The transition amplitude of a root-to-leaf path is the product of all the weights on the edges along the path. To get the probability of the final state being , \psi\rangle, we sum up the amplitudes of all root-to-leave paths that ends at a node representing , \psi\rangle. More formally, for the quantum circuit , its sum over histories tree is a tree of depth , with one level for each gate g_i in addition to the root, and with branching factor 2^n. Notice in the sum over histories algorithm to compute some amplitude \alpha_x, only one history is stored at any point in the computation. Hence, the sum over histories algorithm uses O(nm) space to compute \alpha_x for any since O(nm) bits are needed to store the histories in addition to some workspace variables. Therefore, in polynomial space, we may compute \sum_x , \alpha_x, ^2 over all with the first qubit being , which is the probability that the first qubit is measured to be 1 by the end of the circuit. Notice that compared with the simulation given for the proof that \mathsf \subseteq \mathsf, our algorithm here takes far less space but far more time instead. In fact it takes O(m2^ ) time to calculate a single amplitude!


BQP and PP

A similar sum-over-histories argument can be used to show that \mathsf \subseteq \mathsf.


P and BQP

We know \mathsf \subseteq \mathsf , since every classical circuit can be simulated by a quantum circuit. Nielsen, Michael A.; Chuang, Isaac L. (2000), Quantum Computation and Quantum Information, Cambridge: Cambridge University Press, ISBN 0-521-63235-8, MR 1796805. It is conjectured that BQP solves hard problems outside of P, specifically, problems in NP. The claim is indefinite because we don't know if P=NP, so we don't know if those problems are actually in P. Below are some evidence of the conjecture: * Integer factorization (see
Shor's algorithm Shor's algorithm is a quantum computer algorithm for finding the prime factors of an integer. It was developed in 1994 by the American mathematician Peter Shor. On a quantum computer, to factor an integer N , Shor's algorithm runs in polynom ...
)arXiv:quant-ph/9508027v2 ''Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer'', Peter W. Shor
/ref> * Discrete logarithm *Simulation of quantum systems (see universal quantum simulator) *Approximating the
Jones polynomial In the mathematical field of knot theory, the Jones polynomial is a knot polynomial discovered by Vaughan Jones in 1984. Specifically, it is an invariant of an oriented knot or link which assigns to each oriented knot or link a Laurent polynomi ...
at certain roots of unity * Harrow-Hassidim-Lloyd (HHL) algorithm


See also

* Hidden subgroup problem *
Polynomial hierarchy In computational complexity theory, the polynomial hierarchy (sometimes called the polynomial-time hierarchy) is a hierarchy of complexity classes that generalize the classes NP and co-NP. Each class in the hierarchy is contained within PSPACE. ...
(PH) * Quantum complexity theory * QMA, the quantum equivalent to NP. * QIP, the quantum equivalent to IP.


References


External links


Complexity Zoo link to BQP
{{DEFAULTSORT:Bqp Probabilistic complexity classes Quantum complexity theory Quantum computing