Any quantum algorithm that finds the marked item among N with probability at least 1/2, for every possible position of the mark, must query the oracle Omega(sqrt N) times; Grover search is therefore optimal up to a constant factor.
Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01
AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.
Suppose a quantum algorithm making T queries outputs, for every
x∈{0,…,N−1}, the value x with probability at least 1/2 when run with the
oracle Ox. Then
T≥163N−2N3,
so T=Ω(N). The same bound holds for the bit oracle
∣y⟩∣b⟩↦∣y⟩∣b⊕[y=x]⟩, which is equivalent to Ox up to
one ancilla.
This is the theorem of Bennett, Bernstein, Brassard and Vazirani, who
used it to show that, relative to a random oracle, NP is not contained in
BQTIME(o(2n/2)). Boyer, Brassard, Høyer and Tapp
sharpened the constant, and Zalka proved that Grover's algorithm is
exactly optimal: no algorithm with fewer queries achieves the same success probability.
The constant 3/16 above is not tight: the standard hybrid argument already gives
T≥2N(2−2/N−2−2)≈0.32N,
and Grover search uses about (π/4)N queries.
Holds when
Query model - the algorithm is a sequence of fixed unitaries interleaved with T calls to the oracle; only oracle calls are counted.
For x∈{0,…,N−1} the oracle Ox multiplies the query basis state ∣x⟩ by −1 and acts as the identity on all other query states and on the workspace.
Setup. The algorithm acts on a query register with basis
{∣y⟩:0≤y<N} and a workspace. With oracle O it produces
UTOUT−1O⋯U1OU0∣0⟩ for fixed unitaries U0,…,UT.
Write ∣ψtx⟩ for the state just after Ut when the oracle is Ox, and
∣ψt⟩ for the same with every oracle call replaced by the identity. Let
Πx=∣x⟩⟨x∣⊗I, so that Ox=I−2Πx, and put
Dtx=∥∣ψtx⟩−∣ψt⟩∥; D0x=0.
One query moves the state little. Since
∣ψt+1x⟩−∣ψt+1⟩=Ut+1(Ox∣ψtx⟩−∣ψt⟩) and
Ox∣ψtx⟩−∣ψt⟩=Ox(∣ψtx⟩−∣ψt⟩)+(Ox−I)∣ψt⟩,
Dt+1x≤Dtx+∥(Ox−I)∣ψt⟩∥=Dtx+2∥Πx∣ψt⟩∥.
Hence DTx≤2∑t=0T−1∥Πx∣ψt⟩∥.
Summing over the marked position. For each t,
∑x∥Πx∣ψt⟩∥2=∥∣ψt⟩∥2=1, so by
Cauchy–Schwarz ∑x∥Πx∣ψt⟩∥≤N. Therefore
x=0∑N−1DTx≤2TN.
Success forces movement. Let px be the probability that the final measurement
outputs x on the state ∣ψT⟩ (empty oracle). Since ∑xpx≤1, at most
N/4 indices have px>4/N, so at least 3N/4 indices satisfy px≤4/N. For each
of these, the outcome x has probability at least 1/2 on ∣ψTx⟩ and at most
4/N on ∣ψT⟩. The difference of the probabilities of one outcome is at most the
trace distance of the two states, which for unit vectors ∣u⟩,∣v⟩ is
1−∣⟨u∣v⟩∣2≤∥∣u⟩−∣v⟩∥ (because
1−∣⟨u∣v⟩∣2≤2(1−Re⟨u∣v⟩)). Hence
DTx≥1/2−4/N for at least 3N/4 values of x, and
2TN≥x∑DTx≥43N(21−N4)=83N−3.
Dividing by 2N gives T≥163N−2N3.
Bit oracle. With an ancilla prepared in ∣−⟩, the bit oracle acts as Ox on
the remaining registers; conversely Ox is the bit oracle conjugated by fixed gates on
an ancilla. Any algorithm for one oracle is thus an algorithm for the other with the same
number of queries, and the bound transfers.
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
Automated source check · Pass with notes · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)
Bound re-derived by the hybrid argument (sum over x of squared distances at most 4T^2; success at least 1/2 bounds each final distance; Cauchy-Schwarz), giving T >= (sqrt N/2)(sqrt(2-2/sqrt N) - sqrt(2-sqrt 2)); a numerical check over N up to 10^6 confirmed this implies the stated (3/16)sqrt N - 3/(2 sqrt N) wherever that is positive. Attributions compared with BBBV arXiv:quant-ph/9701001 Theorem 3.5 (NP not in BQTime(o(2^(n/2))) relative to a random oracle), Boyer-Brassard-Hoyer-Tapp arXiv:quant-ph/9605034 Section 7 Theorem 7 (floor(sin(pi/8) sqrt N) for success at least 1/2) and Zalka arXiv:quant-ph/9711070 abstract (optimal for any success probability).
The record said the constant 3/16 is 'what the short hybrid argument gives'; no source gives that constant and the standard hybrid argument gives about 0.32 sqrt N. The stated bound is true (weaker); replaced that sentence with the explicit hybrid bound, re-derived here.
Revision history
2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10
Current revision 044f6442cc4a0009. Source file knowledge/records/theorem/search-lower-bound.md in the content repository (readable there once it is public).