PostBQP
Encyclopedia
PostBQP is a complexity class
Complexity class
In computational complexity theory, a complexity class is a set of problems of related resource-based complexity. A typical complexity class has a definition of the form:...

 consisting of all of the computational problem
Computational problem
In theoretical computer science, a computational problem is a mathematical object representing a collection of questions that computers might want to solve. For example, the problem of factoring...

s solvable in polynomial time on a quantum Turing machine
Quantum Turing machine
A quantum Turing machine , also a universal quantum computer, is an abstract machine used to model the effect of a quantum computer. It provides a very simple model which captures all of the power of quantum computation. Any quantum algorithm can be expressed formally as a particular quantum...

 with postselection
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 Pr[F] to the conditional probability Pr[F|E].For a discrete probability space, Pr[F|E] =...

 and bounded error (in the sense that the algorithm is correct at least 2/3 of the time on all inputs).

Note that postselection is not considered to be a feature that a realistic computer (even a quantum one) would possess, rather postselecting machines are interesting from a theoretical perspective.

When you remove one of the two main features (quantumness, postselection) from PostBQP you get the following subsets:
  • BQP
    BQP
    In computational complexity theory 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...

    is the same as PostBQP except without postselection
  • BPPpath is the same as PostBQP except that instead of quantum, the algorithm is a classical randomized algorithm (with postselection)


The addition of postselection
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 Pr[F] to the conditional probability Pr[F|E].For a discrete probability space, Pr[F|E] =...

 seems to make quantum Turing machines much more powerful: Scott Aaronson
Scott Aaronson
Scott Joel Aaronson is a theoretical computer scientist and faculty member in the Electrical Engineering and Computer Science department at the Massachusetts Institute of Technology.-Education:...

 proved PostBQP is equal to PP, a class which is believed to be relatively powerful, whereas BQP
BQP
In computational complexity theory 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...

is not known even to contain the seemingly smaller class NP. Using similar techniques, Aaronson also proved that small changes to the laws of quantum computing would have significant effects. As specific examples, under either of the two following changes, the "new" version of BQP would equal PP
PP (complexity)
In complexity theory, PP is the class of decision problems solvable by a probabilistic Turing machine in polynomial time, with an error probability of less than 1/2 for all instances. The abbreviation PP refers to probabilistic polynomial time...

:
  • if we broadened the definition of 'quantum gate' to include not just unitary operations but linear operations, or
  • if the probability of measuring a basis state was proportional to instead of for any even integer p > 2.


Basic properties

In order to describe some of the properties of PostBQP we fix a formal way of describing quantum postselection. Define a quantum algorithm to be a family of quantum circuit
Quantum circuit
In quantum information theory, a quantum circuit is a model for quantum computation in which a computation is a sequence of quantum gates, which are reversible transformations on a quantum mechanical analog of an n-bit register...

s (specifically, a uniform circuit family). We designate one qubit as the postselection qubit P and another as the output qubit Q. Then PostBQP is defined by postselecting upon the event that the postselection qubit is |1>. Explicitly, a language L is in PostBQP if there is a quantum algorithm A so that after running A on input x and measuring the two qubits P and Q,
  • P = 1 with nonzero probability
  • if the input x is in L then Pr[Q = 1|P = 1] ≥ 2/3
  • if the input x is not in L then Pr[Q = 0|P = 1] ≥ 2/3.


One can show that allowing a single postselection step at the end of the algorithm (as described above) or allowing intermediate postselection steps during the algorithm are equivalent.

Here are three basic properties of PostBQP (which also hold for BQP via similar proofs):

1. PostBQP is closed under complement. Given a language L in PostBQP and a corresponding deciding circuit family, create a new circuit family by flipping the output qubit after measurement, then the new circuit family proves the complement of L is in PostBQP.

2. You can do probability amplification in PostBQP. The definition of PostBQP is not changed if we replace the 2/3 value in its definition by any other constant strictly between 1/2 and 1. As an example, given a PostBQP algorithm A with success probability 2/3, we can construct another algorithm which runs three independent copies of A, outputs a postselection bit equal to the conjunction
Logical conjunction
In logic and mathematics, a two-place logical operator and, also known as logical conjunction, results in true if both of its operands are true, otherwise the value of false....

 of the three "inner" ones, and outputs an output bit equal to the majority
Majority
A majority is a subset of a group consisting of more than half of its members. This can be compared to a plurality, which is a subset larger than any other subset; i.e. a plurality is not necessarily a majority as the largest subset may consist of less than half the group's population...

 of the three "inner" ones; the new algorithm will be correct with conditional probability , greater than the original 2/3.

3. PostBQP is closed under intersection
Intersection (set theory)
In mathematics, the intersection of two sets A and B is the set that contains all elements of A that also belong to B , but no other elements....

. Suppose we have PostBQP circuit families for two languages L1 and L2, with respective postselection qubits and output qubits P1, P2, Q1, Q2. We may assume by probability amplification that both circuit families have success probability at least 5/6. Then we create a composite algorithm where the circuits for L1 and L2 are run independently, and we set P to the conjunction of P1 and P2, and Q to the conjunction of Q1 and Q2. It is not hard to see by a union bound that this composite algorithm correctly decides membership in with (conditional) probability at least 2/3.

More generally, combinations of these ideas show that PostBQP is closed under union and BQP truth-table reductions.

PostBQP = PP

Scott Aaronson
Scott Aaronson
Scott Joel Aaronson is a theoretical computer scientist and faculty member in the Electrical Engineering and Computer Science department at the Massachusetts Institute of Technology.-Education:...

 showed that the complexity classes PostBQP (postselected bounded error quantum polynomial time) and PP
PP (complexity)
In complexity theory, PP is the class of decision problems solvable by a probabilistic Turing machine in polynomial time, with an error probability of less than 1/2 for all instances. The abbreviation PP refers to probabilistic polynomial time...

(probabilistic polynomial time) are equal. The result was significant because this quantum computation reformulation of PP gave new insight and simpler proofs of properties of PP.

The usual definition of a PostBQP circuit family is one with two outbit qubits P (postselection) and Q (output) with a single measurement of P and Q at the end such that the probability of measuring P = 1 has nonzero probability, the conditional probability Pr[Q = 1|P = 1] ≥ 2/3 if the input x is in the language, and Pr[Q = 0|P = 1] ≥ 2/3 if the input x is not in the language. For technical reasons we tweak the definition of PostBQP as follows: we require that Pr[P = 1] ≥ 2nc for some constant c depending on the circuit family. Note this choice does not affect the basic properties of PostBQP, and also it can be shown that any computation consisting of typical gates (e.g. Hadamard, Toffoli) has this property whenever Pr[P = 1] > 0.

Proving PostBQPPP

Suppose we are given a PostBQP family of circuits to decide a language L. We assume without loss of generality (e.g. see the inessential properties of quantum computers) that all gates have transition matrices that are represented with real numbers, at the expense of adding one more qubit.

Let denote the final quantum state of the circuit before the postselecting measurement is made. The overall goal of the proof is to construct a PP algorithm to decide L. More specifically it suffices to have L correctly compare the squared amplitude of in the states with Q = 1, P = 1 to the squared amplitude of in the states with Q = 0, P = 1 to determine which is bigger. The key insight is that the comparison of these amplitudes can be transformed into comparing the acceptance probability of a PP machine with 1/2.

Matrix view of PostBQP algorithms

Let n denote the input size, B = B(n) denote the total number of qubits in the circuit (inputs, ancillary, output and postselection qubits), and G = G(n) denote the total number of gates.
Represent the ith gate by its transition matrix Ai (a real unitary matrix) and let the initial state be |x> (padded with zeroes). Then . Define S1 (resp. S0) to be the set of basis states corresponding to P = 1, Q = 1 (resp. P = 1, Q = 0) and define the probabilities



The definition of PostBQP ensures that either or according to whether x is in L or not.

Our PP machine will compare and . In order to do this, we expand the definition of matrix multiplication:


where the sum is taken over all lists of G basis vectors . Now and can be expressed as a sum of pairwise products of these terms. Intuitively, we want to design a machine whose acceptance probability is something like , since then would imply that the acceptance probability is , while would imply that the acceptance probability is .

Technicality: we may assume entries of the transition matrices Ai are rationals with denominator for some polynomial f(n).

The definition of PostBQP tells us that if x is in L, and that otherwise . Let us replace all entries f A by the nearest fraction with denominator for a large polynomial f(n) that we presently describe. What will be used later is that the new values satisfy if x is in L, and if x is not in L. Using the earlier technical assumption and by analyzing how the 1-norm of the computational state changes, this is seen to be satisfied if thus clearly there is a large enough f that is polynomial in n.

Constructing the PP machine

Now we provide the detailed implementation of our PP machine. Let denote the sequence and define the shorthand notation
,

then

We define our PP machine to
  • pick a basis state uniformly at random
  • if then STOP and accept with probability 1/2, reject with probability 1/2
  • pick two sequences of G basis states uniformly at random
  • compute (which is a fraction with denominator such that )
  • if then accept with probability and reject with probability (which takes at most 2f(n)G(n)+1 coin flips)
  • otherwise (then ) accept with probability and reject with probability (which again takes at most 2f(n)G(n)+1 coin flips)

Then it is straightforward to compute that this machine accepts with probability

so this is a PP machine for the language L, as needed.

Proving PPPostBQP

Suppose we have a PP machine with time complexity T:=T(n) on input x of length n := |x|. Thus the machine flips a coin at most T times during the computation. We can thus view the machine as a deterministic function f (implemented, e.g. by a classical circuit) which takes two inputs (x, r) where r, a binary string of length T, represents the results of the random coin flips that are performed by the computation, and the output of f is 1 (accept) or 0 (reject). The definition of PP tells us that

Thus, we want a PostBQP algorithm that can determine whether the above statement is true.

Define s to be the number of random strings which lead to acceptance,

and so is the number of rejected strings.
It is straightforward to argue that without loss of generality, ; for details, see a similar without loss of generality
Without loss of generality
Without loss of generality is a frequently used expression in mathematics...

 assumption in the proof that PP is closed under complementation.

Aaronson's algorithm

Aaronson's algorithm for solving this problem is as follows. For simplicity, we will write all quantum states as unnormalized. First, we prepare the state . Second, we apply Hadamard gates to the first register (each of the first T qubits), measure the first register and postselect on it being the all-zero string. It is easy to verify that this leaves the last register (the last qubit) in the residual state

Where H denotes the Hadamard gate, we compute the state
.

Where are positive real numbers to be chosen later with , we compute the state and measure the second qubit, postselecting on its value being equal to 1, which leaves the first qubit in a residual state depending on which we denote
.


Visualizing the possible states of a qubit as a circle, we see that if , (i.e. if ) then lies in the open quadrant while if , (i.e. if ) then lies in the open quadrant . In fact for any fixed x (and its corresponding s), as we vary the ratio in , note that the image of is precisely the corresponding open quadrant. In the rest of the proof, we make precise the idea that we can distinguish between these two quadrants.

Analysis

Let , which is the center of , and let be orthogonal to . Any qubit in , when measured in the basis , gives the value less than 1/2 of the time. On the other hand, if and we had picked then measuring in the basis would give the value all of the time. Since we don't know s we also don't know the precise value of r*, but we can try several (polynomially many) different values for in hopes of getting one that is "near" r*.

Specifically, note and let us successively set to every value of the form for . Then elementary calculations show that for one of these values of i, the probability that the measurement of in the basis yields is at least

Overall, the PostBQP algorithm is as follows. Let k be any constant strictly between 1/2 and .
We do the following experiment for each : construct and measure in the basis a total of times where C is a constant. If the proportion of measurements is greater than k, then reject. If we don't reject for any i, accept. Chernoff bound
Chernoff bound
In probability theory, the Chernoff bound, named after Herman Chernoff, gives exponentially decreasing bounds on tail distributions of sums of independent random variables...

s then show that for a sufficiently large universal constant C, we correctly classify x with probability at least 2/3.

Note that this algorithm satisfies the technical assumption that the overall postselection probability is not too small: each individual measurement of has postselection probability and so the overall probability is .

Implications

  • See Quantum computation reformulation of PP
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK