BQP from any constant gap #
The thresholds 2 / 3 and 1 / 3 in the definition of BQP (Cslib.Complexity.BQP) can be
replaced by any constants s < c: a problem is in BQP exactly when some uniform family accepts
its members with probability at least c and other instances with probability at most s
(Cslib.Complexity.mem_BQP_iff_exists_gap).
The threshold vote of the family (Cslib.Quantum.UniformCircuitFamily.threshold) decides whether
more than t of k independent runs accept. Its acceptance probability is a binomial tail
(Cslib.Quantum.UniformCircuitFamily.acceptProb_threshold_eq_sum_choose), and Hoeffding's
inequality (Cslib.sum_filter_le_sub_choose_mul_pow_le,
Cslib.sum_filter_le_mul_sub_choose_mul_pow_le) bounds its errors by exp (-2 k δ²) when the
threshold t lies k δ away from k p
(Cslib.Quantum.UniformCircuitFamily.acceptProb_threshold_le_exp,
Cslib.Quantum.UniformCircuitFamily.one_sub_exp_le_acceptProb_threshold). For constants s < c
with gap 2 δ = c - s, a vote over k = ⌈1 / δ²⌉ copies with threshold ⌊k (s + c) / 2⌋ has
errors at most exp (-2) < 1 / 3.
Main results #
Cslib.Quantum.UniformCircuitFamily.acceptProb_threshold_eq_sum_choose: the acceptance probability of the threshold vote is the binomial tailP[Bin(k, p) > t].Cslib.Quantum.UniformCircuitFamily.acceptProb_threshold_le_exp,Cslib.Quantum.UniformCircuitFamily.one_sub_exp_le_acceptProb_threshold: Hoeffding bounds for the threshold vote.Cslib.Complexity.mem_BQP_of_gap,Cslib.Complexity.mem_BQP_iff_exists_gap:BQPfrom any constant gap.
The argument is the standard one (threshold vote and Hoeffding's inequality); no source locator is claimed for it. The gaps here are constants; gaps shrinking with the input length are not treated.
The threshold vote is a binomial tail: it accepts with probability
∑_{t < j ≤ k} C(k, j) p^j (1 - p)^(k - j), where p is the acceptance probability of the family
and k, t are taken at the input length.
Hoeffding bound for rejection: if the threshold t is at least k (p + δ) - 1, with
0 ≤ δ, then the threshold vote accepts with probability at most exp (-2 k δ²).
Hoeffding bound for acceptance: if the threshold t is at most k (p - δ), with 0 ≤ δ,
then the threshold vote accepts with probability at least 1 - exp (-2 k δ²).
BQP from any constant gap: a uniform family that accepts members with probability at
least c and other instances with probability at most s, for constants s < c, shows that the
problem is in BQP. A threshold vote over ⌈1 / δ²⌉ copies, with 2 δ = c - s, brings the errors
below exp (-2) < 1 / 3.
BQP is the class of problems decided with some constant gap: A ∈ BQP enc exactly when
for some constants s < c, a uniform family accepts members with probability at least c and
other instances with probability at most s.