Ambainis's quantum adversary method for non-Boolean input alphabets #
This module proves [Amb02], Theorem 6 (Section 6.1 of arXiv:quant-ph/0002066v1) in the
quantum value-query model (Cslib.Quantum.ValueState, Cslib.Quantum.valueOracle,
Cslib.Quantum.runValue) over an arbitrary finite query index type ι, arbitrary input alphabet
α, finite value register V, and finite workspace W, for any unitary oracle family
step : α → (EuclideanSpace ℂ V ≃ₗᵢ[ℂ] EuclideanSpace ℂ V).
Let querySlice i ψ : EuclideanSpace ℂ (V × W) be the amplitudes of ψ : ValueState ι V W on query
index i : ι. Because valueOracle step x applies the linear isometry equivalence step (x i) on
each (i, w) fiber:
∑ i : ι, ‖querySlice i ψ‖ ^ 2 = ‖ψ‖ ^ 2(Cslib.Quantum.sum_sq_norm_querySlice);‖querySlice i (valueOracle step x ψ)‖ = ‖querySlice i ψ‖(Cslib.Quantum.norm_querySlice_valueOracle);- when
x i = y i,inner ℂ (querySlice i (valueOracle step x ψ)) (querySlice i (valueOracle step y φ)) = inner ℂ (querySlice i ψ) (querySlice i φ)(Cslib.Quantum.inner_querySlice_valueOracle_of_eq); - therefore one value query lowers
‖inner ℂ ψ φ‖by at most2 ∑_{i : x i ≠ y i} ‖querySlice i ψ‖ * ‖querySlice i φ‖(Cslib.Quantum.norm_inner_valueOracle_valueOracle_ge), with the same constant2as the binary phase oracle (Cslib.Quantum.norm_inner_phaseOracle_phaseOracle_ge), without paying any two-value diagonalization overhead.
Bounding each step's drop in valueWeightedProgress gives (1 - δ) √(m m') ≤ 2 T √L
(Cslib.Quantum.one_sub_mul_sqrt_le_two_mul_mul_sqrt_value). Combining with multi-outcome Lemma 1
(Cslib.Quantum.norm_inner_le_two_mul_sqrt_of_readout_ne and
Cslib.Quantum.norm_inner_le_two_mul_sqrt_of_measureOut_ne) yields the multi-outcome bounds
Cslib.Quantum.one_sub_two_mul_sqrt_mul_sqrt_le_two_mul_mul_sqrt_value and
Cslib.Quantum.one_sub_two_mul_sqrt_mul_sqrt_le_two_mul_mul_sqrt_value_measureOut.
Main definitions #
Cslib.Quantum.querySlice: slice of aValueState ι V Wat query indexi : ι.Cslib.Quantum.valueWeightedProgress: weighted sum of state overlaps ofrunValueoverR.
Main results #
Cslib.Quantum.norm_inner_valueOracle_valueOracle_ge: one-step overlap loss bound forvalueOracle.Cslib.Quantum.valueWeightedProgress_zero_sub_le: telescoping bound onvalueWeightedProgress.Cslib.Quantum.one_sub_mul_sum_le_of_sq_le_value: weighted adversary inequality forrunValue.Cslib.Quantum.one_sub_mul_sqrt_le_two_mul_mul_sqrt_value: [Amb02], Theorem 6 (overlap form) for non-Boolean value queries.Cslib.Quantum.one_sub_two_mul_sqrt_mul_sqrt_le_two_mul_mul_sqrt_valueandCslib.Quantum.one_sub_two_mul_sqrt_mul_sqrt_le_two_mul_mul_sqrt_value_measureOut: [Amb02], Theorem 6 for multi-outcome classical readouts.
References #
- A. Ambainis, Quantum lower bounds by quantum arguments, Section 6.1, Theorem 6
(
arXiv:quant-ph/0002066v1).
The amplitudes of a value-query state ψ : ValueState ι V W on query index i : ι.
Coordinate evaluation of querySlice i ψ.
Decomposition of the inner product on ValueState ι V W across query indices i : ι.
On each query index i, valueOracle step x acts as a linear isometry on querySlice i.
When two inputs x and y agree at i, valueOracle preserves the i-slice overlap.
Per-query overlap loss bound for valueOracle: one value query lowers ‖inner ℂ ψ φ‖ by at
most 2 ∑_{i : x i ≠ y i} ‖querySlice i ψ‖ * ‖querySlice i φ‖.
Weighted progress measure of a value-query algorithm over an input relation R after t
queries.
Before any query, all states agree, so valueWeightedProgress equals ∑ p ∈ R, γ p.
Telescoping: T value queries lower valueWeightedProgress by at most T times the
endpoint weight budgets.
Weighted quantum adversary inequality for value-query algorithms: if after T value queries
the states on every pair in R have overlap at most δ, and nonnegative step weights a, b
satisfy γ(p)² ≤ a(p, i) b(p, i) whenever p.1 i ≠ p.2 i with coordinatewise fiber budgets
α_b and β_b, then
(1 - δ) ∑_{p ∈ R} γ p ≤ T (∑_{x ∈ fst(R)} α_b x + ∑_{y ∈ snd(R)} β_b y).
Ambainis's adversary bound for non-Boolean input alphabets ([Amb02], Section 6.1,
Theorem 6, overlap form): let R be a nonempty set of pairs of inputs x, y : ι → α on which a
T-query value-query algorithm (step, U, ψ₀) with ‖ψ₀‖ = 1 ends in states with overlap at most
δ. If every first input of R lies in at least m pairs of R and every second input in at
least m', and l_{x,i} l_{y,i} ≤ L whenever (x, y) ∈ R and x i ≠ y i, then
(1 - δ) √(m m') ≤ 2 T √L.
Ambainis's adversary bound for non-Boolean inputs and multi-outcome outputs ([Amb02],
Section 6.1, Theorem 6): let f : (ι → α) → β be a target function with f p.1 ≠ f p.2 for all
p ∈ R, and suppose a T-query value-query algorithm (step, U, ψ₀) with classical readout
out : ι × V × W → β outputs f x with probability at least 1 - ε (2 * ε ≤ 1) on every first
and second input of R. Then (1 - 2√(ε(1-ε))) √(m m') ≤ 2 T √L.
PMF (measureOut) form of one_sub_two_mul_sqrt_mul_sqrt_le_two_mul_mul_sqrt_value, not
requiring [DecidableEq β].