Documentation

CslibFrontier.Computability.Complexity.Classes.BQP.Counting

BQP ⊆ AWPP ⊆ PP #

The acceptance probability of a uniform family of Hadamard–Toffoli circuits is a gap function divided by a power of two, acceptGap / 2^h (Cslib.Quantum.acceptProb_eq_acceptGap). Here both are computed classically. The path simulation Cslib.Quantum.pathStep runs in polynomial time (Cslib.Quantum.computableInPolyTime_pathStep), so the acceptance gap is a sum, over pairs of polynomially long paths, of a polynomial-time integer, which is a GapP function; the number h of Hadamard gates is computed in unary. Fenner's characterization of AWPP (Cslib.Complexity.AWPP) then gives BQP ⊆ AWPP (Cslib.Complexity.BQP_subset_AWPP), and AWPP ⊆ PP gives BQP ⊆ PP (Cslib.Complexity.BQP_subset_PP). With PP ⊆ PSPACE (Cslib.Complexity.PP_subset_PSPACE) this gives BQP ⊆ PSPACE (Cslib.Complexity.BQP_subset_PSPACE).

BQP ⊆ PP is due to Adleman, DeMarrais and Huang Adleman, DeMarrais, Huang. BQP ⊆ AWPP is Theorem 3.1 of Fortnow, Rogers, proved there through Lemma 3.2: the acceptance probability of a quantum Turing machine running for t steps, with amplitudes in {0, ±3/5, ±4/5, ±1}, is a GapP function divided by 5^{2t}. For circuits over the Hadamard and Toffoli gates the denominator is 2^h instead. Fortnow and Rogers work with quantum Turing machines; this file works with the uniform circuit families of Cslib.Complexity.BQP.

Main results #

References #

Acceptance overlaps are GapP functions: for gate codes and two registers computed in polynomial time from the instance, the projected pair gap on the measured wires S is a GapP function of the instance.

theorem Cslib.Complexity.onesGap_mem_GapP {α : Type} {enc : α ↪ List Bool} (F : Quantum.UniformCircuitFamily) (S : List ℕ) :
(fun (a : α) => Quantum.onesGap S (F.gates (enc a).length) (List.ofFn (Quantum.inputState (F.width (enc a).length) (enc a)))) ∈ GapP enc

The projected gap of a uniform family is a GapP function of the instance.

theorem Cslib.Complexity.acceptGap_mem_GapP {α : Type} {enc : α ↪ List Bool} (F : Quantum.UniformCircuitFamily) :
(fun (a : α) => Quantum.acceptGap (F.gates (enc a).length) (List.ofFn (Quantum.inputState (F.width (enc a).length) (enc a)))) ∈ GapP enc

The acceptance gap of a uniform family is a GapP function of the instance.

theorem Cslib.Complexity.BQP_subset_AWPP {α : Type} {enc : α ↪ List Bool} :
BQP enc ⊆ AWPP enc

BQP ⊆ AWPP Fortnow, Rogers: the acceptance probability of a uniform family is a GapP function divided by 2^h, with h computed in polynomial time.

theorem Cslib.Complexity.BQP_subset_PP {α : Type} {enc : α ↪ List Bool} :
BQP enc ⊆ PP enc

BQP ⊆ PP Adleman, DeMarrais, Huang.

theorem Cslib.Complexity.BQP_subset_PSPACE {α : Type} {enc : α ↪ List Bool} :
BQP enc ⊆ PSPACE enc

BQP ⊆ PSPACE Bernstein, Vazirani, through BQP ⊆ PP ⊆ PSPACE. Arora and Barak, Theorem 20.25. This is the library's BQP, over the fixed gate set of Cslib.Complexity.BQP; the draft allows arbitrary elementary gates, whose equivalence with this gate set is not formalized.