The quantum query lower bound for search #
A quantum query algorithm with T queries to x : Fin N → Bool alternates T + 1 arbitrary
linear isometries U₀, …, U_T of a finite-dimensional state space ℂ^{Fin N × Bool × W}, with a
query register, a control bit and a workspace W, with T applications of the controlled phase
oracle O_x |i, b, w⟩ = (-1)^{b · x_i} |i, b, w⟩ (Cslib.Quantum.phaseOracle,
Cslib.Quantum.run). Up to Hadamard gates on the control bit this is the standard bit oracle
|i, b⟩ ↦ |i, b ⊕ x_i⟩, so the model is the standard one of Bennett, Bernstein, Brassard,
Vazirani. Its output is the measurement of the query register: the probability of
outcome i is ∑_{b, w} |ψ(i, b, w)|² (Cslib.Quantum.regProb).
Bennett–Bernstein–Brassard–Vazirani. Searching for a single marked item among N takes
Ω(√N) queries: if, for every z, the algorithm outputs z with probability at least 2 / 3 on
the input e_z marking only z, then N - 2 ≤ 144 T² (Cslib.Quantum.card_sub_two_le)
Bennett, Bernstein, Brassard, Vazirani.
The proof is the hybrid argument. On the all-zero input the oracle is the identity; replacing it by
O_{e_z} at one query moves the state by 2 ‖Π_z φ‖, where Π_z projects onto query index z
with control bit 1 (Cslib.Quantum.ctrlProj) and φ is the state before that query. So the
final states differ by at most 2 ∑_{t < T} ‖Π_z φ_t‖, and by Cauchy–Schwarz and
∑_z ‖Π_z φ‖² ≤ ‖φ‖² = 1,
∑_z ‖ψ_T^{e_z} - ψ_T^0‖² ≤ 4 T² (Cslib.Quantum.sum_sq_norm_run_sub_le). Success on e_z but
not on the all-zero input, for all but at most two z, forces each of these distances to be at
least 1 / 6.
Main definitions #
Cslib.Quantum.phaseOracle: the controlled phase oracle ofx.Cslib.Quantum.run: the state of a query algorithm aftertqueries.Cslib.Quantum.regProb: the probability of measuring query indexi.Cslib.Quantum.ctrlProj: the projection onto query indexzwith control bit1.
Main results #
Cslib.Quantum.norm_run_sub_le: the hybrid argument for one marked item.Cslib.Quantum.sum_sq_norm_run_sub_le:∑_z ‖ψ_T^{e_z} - ψ_T^0‖² ≤ 4 T².Cslib.Quantum.card_sub_two_le: the BBBV lower boundN - 2 ≤ 144 T².
References #
The oracle of the all-zero input is the identity.
The probability of measuring query index i in the state ψ: the probability
(Cslib.Quantum.measureProb) that measuring ψ gives an outcome (i, b, w).
Instances For
The input e_z marking only z.
Instances For
Marking z changes a state by -2 Π_z.
The hybrid argument for one marked item: on the inputs e_z and 0, the states after t
queries differ by at most 2 ∑_{s < t} ‖Π_z φ_s‖, where φ_s is the state on the all-zero input
after s queries.
The BBBV lower bound for search Bennett, Bernstein, Brassard, Vazirani: if a
T-query algorithm with a unit initial state outputs z with probability at least 2 / 3 on the
input marking only z, for every z, then N - 2 ≤ 144 T².