Weighted quantum adversary method #
A weighted adversary scheme (Cslib.Quantum.WeightScheme) attaches nonnegative pair weights
w(x, y) to a relation R of input pairs and nonnegative coordinate weights u(x, y, i) and
v(x, y, i) satisfying w(x, y)² ≤ u(x, y, i) · v(x, y, i) whenever xᵢ ≠ yᵢ
[Amb06], Section 3.3, Definitions 1–3; [Zha05], Definition 1.
From the endpoint weights wtFst x = ∑_{(x, y) ∈ R} w(x, y) and
wtSnd y = ∑_{(x, y) ∈ R} w(x, y) and coordinate loads loadFst x i and loadSnd y i, balancing
Cslib.Quantum.one_sub_mul_sum_le_of_sq_le across the two endpoints yields:
- Weighted adversary bound [Amb06], Lemma 1: if
loadFst x i ≤ vA · wtFst xandloadSnd y i ≤ vB · wtSnd yfor all endpoints and coordinates, then(1 - δ) ∑_{(x, y) ∈ R} w(x, y) ≤ 2 T √(vA · vB) ∑_{(x, y) ∈ R} w(x, y)(Cslib.Quantum.WeightScheme.one_sub_mul_sum_le). - Ratio form [Zha05], Theorem 3 (
Alb₃): if0 < ∑_{(x, y) ∈ R} w(x, y),mA · loadFst x i ≤ wtFst x, andmB · loadSnd y i ≤ wtSnd y, then(1 - δ) √(mA · mB) ≤ 2 T(Cslib.Quantum.WeightScheme.one_sub_mul_sqrt_le_of_load_le). - Subsumption of unweighted bounds [Zha05], Theorem 5 (
Alb₂ ≤ Alb₃): every unweighted counting instance(R, m, m', L)embeds viaCslib.Quantum.WeightScheme.ofUnweighted.
Main definitions #
Cslib.Quantum.WeightScheme: a weighted adversary scheme onBitString N.Cslib.Quantum.WeightScheme.weightSum,Cslib.Quantum.WeightScheme.wtFst,Cslib.Quantum.WeightScheme.wtSnd: pair-weight sums.Cslib.Quantum.WeightScheme.loadFst,Cslib.Quantum.WeightScheme.loadSnd: coordinate loads.Cslib.Quantum.WeightScheme.ofUnweighted: weight scheme induced by unweighted counts.
Main results #
Cslib.Quantum.WeightScheme.one_sub_mul_sum_leandCslib.Quantum.WeightScheme.one_sub_two_mul_sqrt_mul_sum_le: Ambainis's weighted adversary bound.Cslib.Quantum.WeightScheme.one_sub_mul_sqrt_le_of_load_leandCslib.Quantum.WeightScheme.one_sub_two_mul_sqrt_mul_sqrt_le_of_load_le: Zhang's ratio form.Cslib.Quantum.WeightScheme.ofUnweighted,Cslib.Quantum.WeightScheme.ofUnweighted_wtFst,Cslib.Quantum.WeightScheme.ofUnweighted_wtSnd,Cslib.Quantum.WeightScheme.ofUnweighted_loadFst_le,Cslib.Quantum.WeightScheme.ofUnweighted_loadSnd_le: unweighted-to-weighted embedding (Alb₂ ≤ Alb₃).
References #
A weighted adversary scheme on N-bit inputs ([Amb06], Section 3.3, Definition 1;
[Zha05], Definition 1): nonnegative pair weights w on R and coordinate weights u, v
satisfying w(x, y)² ≤ u(x, y, i) · v(x, y, i) whenever (x, y) ∈ R and xᵢ ≠ yᵢ.
The relation of input pairs.
Nonnegative pair weights on
R.First-endpoint coordinate weights.
Second-endpoint coordinate weights.
Pair weights are nonnegative on
R.- u_nonneg (p : BitString N × BitString N) : p ∈ self.R → ∀ (i : Fin N), p.1 i ≠ p.2 i → 0 ≤ self.u p i
First-endpoint coordinate weights are nonnegative on differing pairs.
- v_nonneg (p : BitString N × BitString N) : p ∈ self.R → ∀ (i : Fin N), p.1 i ≠ p.2 i → 0 ≤ self.v p i
Second-endpoint coordinate weights are nonnegative on differing pairs.
- sq_le (p : BitString N × BitString N) : p ∈ self.R → ∀ (i : Fin N), p.1 i ≠ p.2 i → self.w p ^ 2 ≤ self.u p i * self.v p i
Splitting inequality
w(p)² ≤ u(p, i) · v(p, i)on differing pairs.
Total pair weight of a weight scheme.
Total weight wt(x) of pairs in R with first endpoint x.
Total weight wt(y) of pairs in R with second endpoint y.
Coordinate load v(x, i) of coordinate i at first endpoint x.
Coordinate load v(y, i) of coordinate i at second endpoint y.
Weighted quantum adversary bound ([Amb06], Section 3.3, Lemma 1):
if T queries leave every related pair with state overlap at most δ, and the coordinate loads
satisfy loadFst x i ≤ vA · wtFst x and loadSnd y i ≤ vB · wtSnd y, then
(1 - δ) ∑_{(x, y) ∈ R} w(x, y) ≤ 2 T √(vA · vB) ∑_{(x, y) ∈ R} w(x, y).
Weighted quantum adversary bound for Boolean outputs ([Amb06], Lemma 1):
if a T-query algorithm accepts the first input of every pair in R with probability at least
1 - ε and the second with probability at most ε ≤ 1/2, then
(1 - 2√(ε(1-ε))) ∑ w ≤ 2 T √(vA · vB) ∑ w.
Weighted quantum adversary bound, ratio form ([Zha05], Theorem 3, Alb₃):
if 0 < ∑ p ∈ R, w p, mA · loadFst x i ≤ wtFst x, and mB · loadSnd y i ≤ wtSnd y, then
(1 - δ) √(mA · mB) ≤ 2 T.
Weighted quantum adversary bound for Boolean outputs, ratio form ([Zha05],
Theorem 3): (1 - 2√(ε(1-ε))) √(mA · mB) ≤ 2 T.
Weight scheme induced by an unweighted adversary relation (R, L) with
l_{x,i} · l_{y,i} ≤ L ([Zha05], Theorem 5): w(p) = 1, u(p, i) = √L / l_{x,i}, and
v(p, i) = √L / l_{y,i}.