Telling two weight layers apart by the adversary method #
Let a < b ≤ N. Relate every input x of weight a to every y ⊇ x of weight b. Then:
- every
xhasC(N - a, b - a)partners, and everyyhasC(b, a); - among the partners of
x, those that differ from it at a fixedinumber at mostC(N - a - 1, b - a - 1); - among the partners of
y, those that differ from it atinumber at mostC(b - 1, a).
Ambainis's bound (Cslib.Quantum.one_sub_mul_sqrt_le_two_mul_mul_sqrt, [Amb02],
Theorem 6) and the binomial identities
C(N - a - 1, b - a - 1) (N - a) = C(N - a, b - a) (b - a) and C(b - 1, a) b = C(b, a) (b - a)
give (1 - δ) √((N - a) b) ≤ 2T (b - a) when the final overlaps on related pairs are at most δ
(Cslib.Quantum.one_sub_mul_sqrt_le_two_mul_mul_sub_of_le). This is the relation that
[Amb02], Theorem 5, uses for a = N/2 and b = (1 + ε)N/2.
With bounded error ε ≤ 1/2, an algorithm that accepts weight k and rejects weight k' ≠ k,
and need not be correct on any other input, has:
(1 - 2√(ε(1-ε))) √((N - a) b) ≤ 2T |k - k'|witha = min k k'andb = max k k'(Cslib.Quantum.one_sub_mul_sqrt_le_two_mul_mul_abs_sub_of_weight). Fork' = k - 1this isCslib.Quantum.one_sub_mul_sqrt_le_two_mul_of_weight.(1 - 2√(ε(1-ε))) (√(N |k - k'|) + √(m (N - m))) ≤ 4T |k - k'|for everymbetweenkandk'(Cslib.Quantum.one_sub_mul_add_le_four_mul_mul_abs_sub_of_weight). This is [NW99], Corollary 1.2,Ω(√(N/Δ) + √(m(N-m))/Δ), which the source proves by the polynomial method. It follows from(N - a) b ≥ N (b - a)and(N - a) b ≥ m (N - m).(1 - 2√(ε(1-ε))) N ≤ 4T |k - k'|whenmin k k' ≤ N/2 ≤ max k k'(Cslib.Quantum.one_sub_mul_card_le_four_mul_mul_abs_sub_of_weight). This is the setting of [Amb02], Theorem 5, and givesΩ(1/ε')for weightsN/2against(1 + ε')N/2.
The constants are those of this proof. The sources state Ω(·) bounds.
Main results #
Cslib.Quantum.one_sub_mul_sqrt_le_two_mul_mul_sub_of_le: the δ-form for weightsa < b.Cslib.Quantum.one_sub_mul_sqrt_le_two_mul_mul_abs_sub_of_weight: weightkagainstk'.Cslib.Quantum.one_sub_mul_add_le_four_mul_mul_abs_sub_of_weight: the Nayak–Wu bound.Cslib.Quantum.one_sub_mul_card_le_four_mul_mul_abs_sub_of_weight: weights on both sides ofN/2.
References #
Telling weight a from weight b, the δ-form: let a < b ≤ N, and let a T-query
algorithm with a unit initial state end in states with overlap at most δ on every pair x ≤ y
with |x| = a and |y| = b. Then (1 - δ) √((N - a) b) ≤ 2T (b - a). This is the containment
relation of [Amb02], Theorem 5, for general a < b. The constant is that of this proof.
Telling weight k from weight k' [Amb02], Theorem 5, for general weights: if a
T-query algorithm with a unit initial state accepts, by an outcome in S, every input of weight
k with probability at least 1 - ε and every input of weight k' ≠ k with probability at most
ε ≤ 1/2, and need not be correct on any other input, then, with a = min k k' and
b = max k k', (1 - 2√(ε(1-ε))) √((N - a) b) ≤ 2T |k - k'|. For k' = k - 1 this is
Cslib.Quantum.one_sub_mul_sqrt_le_two_mul_of_weight. The constant is that of this proof.
The Nayak–Wu bound [NW99], Corollary 1.2, with the constants of this proof: if a
T-query algorithm with a unit initial state accepts, by an outcome in S, every input of weight
k with probability at least 1 - ε and every input of weight k' ≠ k with probability at most
ε ≤ 1/2, then for every m between k and k',
(1 - 2√(ε(1-ε))) (√(N |k - k'|) + √(m (N - m))) ≤ 4T |k - k'|. Dividing by |k - k'| gives the
source's Ω(√(N/Δ) + √(m(N-m))/Δ), where the source takes m ∈ {k, k'} farther from N/2. The
source proves it by the polynomial method; this proof is by the adversary method.
Weights on both sides of N/2, the setting of [Amb02], Theorem 5: if a T-query
algorithm with a unit initial state accepts, by an outcome in S, every input of weight k with
probability at least 1 - ε and every input of weight k' ≠ k with probability at most
ε ≤ 1/2, and min k k' ≤ N/2 ≤ max k k', then (1 - 2√(ε(1-ε))) N ≤ 4T |k - k'|. For
k = N/2 and k' = (1 + ε')N/2 this is Ω(1/ε'), the bound behind the ε'-approximate median
lower bound of [NW99].