Documentation

CslibFrontier.Computability.Complexity.Classes.PostBQP

Postselected quantum polynomial time #

PostBQP is the polynomial-time union of the native postselected circuit classes, over Hadamard, NOT, CNOT and Toffoli. The postselection bit is required to be one with positive probability on every encoded instance. Conditional on this outcome, the decision bit has completeness 2/3 and soundness 1/3. These are Aaronson, Definition 1, with the decision bit on wire zero and the postselection bit on wire one.

The upper bound PostBQP_subset_PP is the inclusion proved in Aaronson's Proposition 2. Both probabilities in the conditional decision have the same dyadic denominator. Twice the numerator of the joint event minus that of the postselection event is a GapP function, positive on exactly the yes-instances.

The reverse inclusion uses two GapP weights obtained from a dyadic sign product. On a uniformly chosen tag bit the circuit accepts with probability proportional to the square of the corresponding weight. The weight on the correct tag is at least twice the magnitude of the other. Squaring gives the required conditional decision bounds and proves Theorem 4 for the native gate set.

Main definitions #

Main results #

References #

def Cslib.Complexity.PostBQP {α : Type} (enc : α ↪ List Bool) :
Set (Set α)

Bounded-error postselected uniform quantum polynomial time on inputs encoded by enc. Qubit one must have positive probability of reading one on every instance.

theorem Cslib.Complexity.PostBQP_subset_PP {α : Type} {enc : α ↪ List Bool} :
PostBQP enc ⊆ PP enc

PostBQP ⊆ PP Aaronson, Proposition 2, for the native uniform gate set. The positivity of the postselection probability makes the comparison of projected gaps strict on yes-instances.

theorem Cslib.Complexity.PostBQP_eq_PP {α : Type} {enc : α ↪ List Bool} :
PostBQP enc = PP enc

PostBQP = PP Aaronson, Theorem 4. The classes use native polynomial-time uniform circuits with Hadamard and classical reversible gates, and strict majority for PP.