Skip to main content
KetQat

Appearance

Topic · intermediate

Grover's Algorithm and Amplitude Amplification

Quadratically faster unstructured search, its exact analysis as a rotation in a plane, the matching Omega(sqrt N) lower bound, and the generalisations that make it a universal subroutine - amplitude amplification, amplitude estimation, fixed-point and oblivious amplification.

ExpositionMachine-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.

Overview

Given a black box that recognises solutions, f(x)=1f(x) = 1 exactly when xx is a solution, how many calls does it take to find one among NN candidates? Classically about N/MN/M calls are needed when MM candidates are solutions and nothing else is known. Grover found a quantum algorithm that needs only about (π/4)N/M(\pi/4)\sqrt{N/M}. Bennett, Bernstein, Brassard and Vazirani proved that no quantum algorithm can do better than Ω(N)\Omega(\sqrt{N}) for a single solution, and Boyer, Brassard, Høyer and Tapp extended the bound to Ω(N/M)\Omega(\sqrt{N/M}) for MM solutions. The speed-up is quadratic, not exponential, but it applies to any problem whose solutions can be checked efficiently.

Brassard, Høyer, Mosca and Tapp showed that the same mechanism boosts the success probability of any quantum subroutine (amplitude amplification) and, combined with phase estimation, estimates it with quadratically fewer repetitions than sampling (amplitude estimation). These two tools are among the most used subroutines in quantum algorithms.

Intuition

Start from the uniform superposition ∣s⟩\ket{s} over all NN strings. It has a small component sin⁡θ=M/N\sin\theta = \sqrt{M/N} along the normalised superposition of solutions and a large component along the non-solutions. Two reflections act inside this plane: the oracle flips the sign of the solution component, and the diffusion step reflects about ∣s⟩\ket{s}. Two reflections compose to a rotation by twice the angle between their mirrors, here 2θ2\theta. Each Grover iteration therefore turns the state by 2θ2\theta toward the solutions, and about π/(4θ)≈(π/4)N/M\pi/(4\theta) \approx (\pi/4)\sqrt{N/M} iterations bring it close to them.

Classically, each query rules out one candidate; quantumly, each query adds an amplitude of order 1/N1/\sqrt N, and amplitudes add linearly while probabilities are their squares. That is also why one cannot do better: the lower bound shows that a query can change the state by only about 1/N1/\sqrt N on average over the possible positions of the solution. The lesson Grover search walks through the geometry with explicit vectors.

Prerequisites

The circuit model and oracles (phase kickback); reflections and rotations in a real plane. Phase estimation for the amplitude estimation part.

Theorems

TheoremAmplitude amplificationEstablished result

Let θ∈(0,π/2)\theta \in (0, \pi/2) be defined by sin⁡2θ=a\sin^2\theta = a, and write

A∣0⟩=sin⁡θ ∣ψ1⟩+cos⁡θ ∣ψ0⟩,∣ψ1⟩=ΠA∣0⟩sin⁡θ,∣ψ0⟩=(I−Π)A∣0⟩cos⁡θ.A\ket{0} = \sin\theta\, \ket{\psi_1} + \cos\theta\, \ket{\psi_0}, \qquad \ket{\psi_1} = \frac{\Pi A\ket{0}}{\sin\theta},\quad \ket{\psi_0} = \frac{(I - \Pi)A\ket{0}}{\cos\theta} .

Define the amplitude amplification operator Q=−A S0 A† SΠQ = -A\, S_0\, A\dagg\, S_\Pi. Then for every integer k≥0k \ge 0,

QkA∣0⟩=sin⁡((2k+1)θ) ∣ψ1⟩+cos⁡((2k+1)θ) ∣ψ0⟩,Q^{k} A\ket{0} = \sin\big((2k+1)\theta\big)\, \ket{\psi_1} + \cos\big((2k+1)\theta\big)\, \ket{\psi_0} ,

so measuring Π\Pi after kk iterations succeeds with probability sin⁡2((2k+1)θ)\sin^2((2k+1)\theta). With k=⌊π/(4θ)⌋k = \lfloor \pi/(4\theta) \rfloor the success probability is at least 1−a1 - a, and k≤π/(4θ)≤π/(4a)k \le \pi/(4\theta) \le \pi/(4\sqrt{a}). On the plane spanned by ∣ψ1⟩\ket{\psi_1} and ∣ψ0⟩\ket{\psi_0}, QQ acts as a rotation by angle 2θ2\theta; its eigenvalues there are e±2iθe^{\pm 2i\theta}.

This is Theorem 2 and Lemma 1 of Brassard, Høyer, Mosca and Tapp; the choice of kk and the bound 1−a1 - a appear in Boyer, Brassard, Høyer and Tapp for search. Grover's algorithm is the case A=H⊗nA = H^{\otimes n}, Π\Pi the projector onto marked strings.

Holds when
  • AA is a unitary on a finite-dimensional space with a distinguished initial state ∣0⟩\ket{0}; Π\Pi is an orthogonal projector (the good subspace).
  • 0<a=∥ΠA∣0⟩∥2<10 < a = \lVert \Pi A\ket{0}\rVert^2 < 1; the cases a∈{0,1}a \in \{0, 1\} are trivial.
  • Exact reflections SΠ=I−2ΠS_\Pi = I - 2\Pi and S0=I−2∣0⟩⟨0∣S_0 = I - 2\ketbra{0}{0} are available.
Proof · Proof of the amplitude amplification theorem

Write ∣Ψ⟩=A∣0⟩\ket{\Psi} = A\ket{0}. The vectors ∣ψ1⟩\ket{\psi_1} and ∣ψ0⟩\ket{\psi_0} are unit vectors (by the choice of θ\theta), orthogonal (one lies in the range of Π\Pi, the other in its kernel), and Π∣ψ1⟩=∣ψ1⟩\Pi\ket{\psi_1} = \ket{\psi_1}, Π∣ψ0⟩=0\Pi\ket{\psi_0} = 0.

The two reflections. SΠ=I−2ΠS_\Pi = I - 2\Pi acts on the plane P=span⁡{∣ψ1⟩,∣ψ0⟩}\mathcal{P} = \operatorname{span}\{\ket{\psi_1}, \ket{\psi_0}\} as ∣ψ1⟩↦−∣ψ1⟩\ket{\psi_1} \mapsto -\ket{\psi_1}, ∣ψ0⟩↦∣ψ0⟩\ket{\psi_0} \mapsto \ket{\psi_0}. Next, because AA is unitary, AS0A†=I−2A∣0⟩⟨0∣A†=I−2∣Ψ⟩⟨Ψ∣A S_0 A\dagg = I - 2A\ketbra{0}{0}A\dagg = I - 2\ketbra{\Psi}{\Psi}, so

−AS0A†=2∣Ψ⟩⟨Ψ∣−I,-A S_0 A\dagg = 2\ketbra{\Psi}{\Psi} - I ,

which maps ∣Ψ⟩\ket{\Psi} to itself and every vector of P\mathcal{P} orthogonal to ∣Ψ⟩\ket{\Psi} to its negative. Both operators map P\mathcal{P} into itself, hence so does Q=(2∣Ψ⟩⟨Ψ∣−I) SΠQ = (2\ketbra{\Psi}{\Psi} - I)\, S_\Pi.

QQ is a rotation by 2θ2\theta on P\mathcal{P}. Use coordinates ∣ϕ(α)⟩=sin⁡α ∣ψ1⟩+cos⁡α ∣ψ0⟩\ket{\phi(\alpha)} = \sin\alpha\,\ket{\psi_1} + \cos\alpha\,\ket{\psi_0}, so that ∣Ψ⟩=∣ϕ(θ)⟩\ket{\Psi} = \ket{\phi(\theta)}. Then SΠ∣ϕ(α)⟩=∣ϕ(−α)⟩S_\Pi\ket{\phi(\alpha)} = \ket{\phi(-\alpha)}: the reflection of the angle α\alpha about 00. The map 2∣Ψ⟩⟨Ψ∣−I2\ketbra{\Psi}{\Psi} - I restricted to P\mathcal{P} is the reflection about the line through ∣ϕ(θ)⟩\ket{\phi(\theta)}, which sends ∣ϕ(β)⟩\ket{\phi(\beta)} to ∣ϕ(2θ−β)⟩\ket{\phi(2\theta - \beta)}. (Check: ⟨ϕ(θ)∣ϕ(β)⟩=cos⁡(θ−β)\braket{\phi(\theta)}{\phi(\beta)} = \cos(\theta - \beta), and 2cos⁡(θ−β)∣ϕ(θ)⟩−∣ϕ(β)⟩=∣ϕ(2θ−β)⟩2\cos(\theta - \beta)\ket{\phi(\theta)} - \ket{\phi(\beta)} = \ket{\phi(2\theta - \beta)} by the identities 2cos⁡(θ−β)sin⁡θ−sin⁡β=sin⁡(2θ−β)2\cos(\theta-\beta)\sin\theta - \sin\beta = \sin(2\theta - \beta) and 2cos⁡(θ−β)cos⁡θ−cos⁡β=cos⁡(2θ−β)2\cos(\theta-\beta)\cos\theta - \cos\beta = \cos(2\theta - \beta).) Composing,

Q∣ϕ(α)⟩=∣ϕ(2θ+α)⟩.Q\ket{\phi(\alpha)} = \ket{\phi(2\theta + \alpha)} .

Iterating. By induction on kk, Qk∣ϕ(θ)⟩=∣ϕ((2k+1)θ)⟩Q^{k}\ket{\phi(\theta)} = \ket{\phi((2k+1)\theta)}, which is the claimed formula. The probability that a measurement of Π\Pi succeeds is ∥Π Qk∣Ψ⟩∥2=sin⁡2((2k+1)θ)\lVert\Pi\, Q^k\ket{\Psi}\rVert^2 = \sin^2((2k+1)\theta).

Number of iterations. Let k=⌊π/(4θ)⌋k = \lfloor \pi/(4\theta) \rfloor. Then π/(4θ)−1<k≤π/(4θ)\pi/(4\theta) - 1 < k \le \pi/(4\theta), so 2kθ∈(π/2−2θ,π/2]2k\theta \in (\pi/2 - 2\theta, \pi/2] and (2k+1)θ∈(π/2−θ,π/2+θ](2k+1)\theta \in (\pi/2 - \theta, \pi/2 + \theta]. Therefore sin⁡2((2k+1)θ)≥cos⁡2θ=1−a\sin^2((2k+1)\theta) \ge \cos^2\theta = 1 - a. Finally sin⁡θ≤θ\sin\theta \le \theta gives k≤π/(4θ)≤π/(4sin⁡θ)=π/(4a)k \le \pi/(4\theta) \le \pi/(4\sin\theta) = \pi/(4\sqrt a).

Eigenvalues. In the basis (∣ψ1⟩,∣ψ0⟩)(\ket{\psi_1}, \ket{\psi_0}) the map ∣ϕ(α)⟩↦∣ϕ(α+2θ)⟩\ket{\phi(\alpha)} \mapsto \ket{\phi(\alpha + 2\theta)} is the real rotation matrix by angle 2θ2\theta, whose eigenvalues are e±2iθe^{\pm 2i\theta} with eigenvectors (∣ψ0⟩∓i∣ψ1⟩)/2(\ket{\psi_0} \mp i\ket{\psi_1})/\sqrt2 up to phase. These eigenvalues are what amplitude estimation measures.

The argument is that of section 2 of Brassard, Høyer, Mosca and Tapp, written with an explicit angle parametrisation.

TheoremQuantum query lower bound for unstructured searchEstablished result

Suppose a quantum algorithm making TT queries outputs, for every x∈{0,…,N−1}x \in \{0, \dots, N-1\}, the value xx with probability at least 1/21/2 when run with the oracle OxO_x. Then

T  ≥  316N−32N,T \;\ge\; \frac{3}{16}\sqrt{N} - \frac{3}{2\sqrt N} ,

so T=Ω(N)T = \Omega(\sqrt N). The same bound holds for the bit oracle ∣y⟩∣b⟩↦∣y⟩∣b⊕[y=x]⟩\ket{y}\ket{b} \mapsto \ket{y}\ket{b \oplus [y = x]}, which is equivalent to OxO_x 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\mathsf{NP} is not contained in BQTIME(o(2n/2))\mathsf{BQTIME}(o(2^{n/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/163/16 above is not tight: the standard hybrid argument already gives T≥N2(2−2/N−2−2)≈0.32NT \ge \tfrac{\sqrt N}{2}\big(\sqrt{2 - 2/\sqrt N} - \sqrt{2 - \sqrt 2}\big) \approx 0.32\sqrt N, and Grover search uses about (π/4)N(\pi/4)\sqrt N queries.

Holds when
  • Query model - the algorithm is a sequence of fixed unitaries interleaved with TT calls to the oracle; only oracle calls are counted.
  • For x∈{0,…,N−1}x \in \{0, \dots, N-1\} the oracle OxO_x multiplies the query basis state ∣x⟩\ket{x} by −1-1 and acts as the identity on all other query states and on the workspace.
Proof · Proof of the search lower bound (hybrid argument)

Setup. The algorithm acts on a query register with basis {∣y⟩:0≤y<N}\{\ket{y} : 0 \le y < N\} and a workspace. With oracle OO it produces UTOUT−1O⋯U1OU0∣0⟩U_T O U_{T-1} O \cdots U_1 O U_0 \ket{0} for fixed unitaries U0,…,UTU_0, \dots, U_T. Write ∣ψtx⟩\ket{\psi_t^x} for the state just after UtU_t when the oracle is OxO_x, and ∣ψt⟩\ket{\psi_t} for the same with every oracle call replaced by the identity. Let Πx=∣x⟩⟨x∣⊗I\Pi_x = \ketbra{x}{x} \otimes I, so that Ox=I−2ΠxO_x = I - 2\Pi_x, and put Dtx=∥∣ψtx⟩−∣ψt⟩∥D_t^x = \lVert \ket{\psi_t^x} - \ket{\psi_t} \rVert; D0x=0D_0^x = 0.

One query moves the state little. Since ∣ψt+1x⟩−∣ψt+1⟩=Ut+1(Ox∣ψtx⟩−∣ψt⟩)\ket{\psi_{t+1}^x} - \ket{\psi_{t+1}} = U_{t+1}\big(O_x\ket{\psi_t^x} - \ket{\psi_t}\big) and Ox∣ψtx⟩−∣ψt⟩=Ox(∣ψtx⟩−∣ψt⟩)+(Ox−I)∣ψt⟩O_x\ket{\psi_t^x} - \ket{\psi_t} = O_x(\ket{\psi_t^x} - \ket{\psi_t}) + (O_x - I)\ket{\psi_t},

Dt+1x≤Dtx+∥(Ox−I)∣ψt⟩∥=Dtx+2∥Πx∣ψt⟩∥.D_{t+1}^x \le D_t^x + \lVert (O_x - I)\ket{\psi_t} \rVert = D_t^x + 2\lVert \Pi_x\ket{\psi_t} \rVert .

Hence DTx≤2∑t=0T−1∥Πx∣ψt⟩∥D_T^x \le 2\sum_{t=0}^{T-1} \lVert\Pi_x\ket{\psi_t}\rVert.

Summing over the marked position. For each tt, ∑x∥Πx∣ψt⟩∥2=∥∣ψt⟩∥2=1\sum_x \lVert\Pi_x\ket{\psi_t}\rVert^2 = \lVert\ket{\psi_t}\rVert^2 = 1, so by Cauchy–Schwarz ∑x∥Πx∣ψt⟩∥≤N\sum_x \lVert\Pi_x\ket{\psi_t}\rVert \le \sqrt N. Therefore

∑x=0N−1DTx≤2TN.\sum_{x=0}^{N-1} D_T^x \le 2T\sqrt N .

Success forces movement. Let pxp_x be the probability that the final measurement outputs xx on the state ∣ψT⟩\ket{\psi_T} (empty oracle). Since ∑xpx≤1\sum_x p_x \le 1, at most N/4N/4 indices have px>4/Np_x > 4/N, so at least 3N/43N/4 indices satisfy px≤4/Np_x \le 4/N. For each of these, the outcome xx has probability at least 1/21/2 on ∣ψTx⟩\ket{\psi_T^x} and at most 4/N4/N on ∣ψT⟩\ket{\psi_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⟩\ket u, \ket v is 1−∣⟨u∣v⟩∣2≤∥∣u⟩−∣v⟩∥\sqrt{1 - \lvert\braket{u}{v}\rvert^2} \le \lVert\ket u - \ket v\rVert (because 1−∣⟨u∣v⟩∣2≤2(1−Re⁡⟨u∣v⟩)1 - \lvert\braket{u}{v}\rvert^2 \le 2(1 - \operatorname{Re}\braket{u}{v})). Hence DTx≥1/2−4/ND_T^x \ge 1/2 - 4/N for at least 3N/43N/4 values of xx, and

2TN≥∑xDTx≥3N4(12−4N)=3N8−3.2T\sqrt N \ge \sum_x D_T^x \ge \frac{3N}{4}\Big(\frac12 - \frac4N\Big) = \frac{3N}{8} - 3 .

Dividing by 2N2\sqrt N gives T≥316N−32NT \ge \tfrac{3}{16}\sqrt N - \tfrac{3}{2\sqrt N}.

Bit oracle. With an ancilla prepared in ∣−⟩\ket{-}, the bit oracle acts as OxO_x on the remaining registers; conversely OxO_x 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.

This is the hybrid argument of Bennett, Bernstein, Brassard and Vazirani; section 6.6 of Nielsen and Chuang gives a closely related version for the exact case.

TheoremAmplitude estimationEstablished result

Run phase estimation with MM grid points on the operator QQ and the input A∣0⟩A\ket{0}, obtain an integer yy, and output a~=sin⁡2(πy/M)\tilde a = \sin^2(\pi y/M). Then for every integer k≥1k \ge 1,

∣a~−a∣  ≤  2πka(1−a)M+π2k2M2\lvert \tilde a - a \rvert \;\le\; \frac{2\pi k\sqrt{a(1-a)}}{M} + \frac{\pi^2 k^2}{M^2}

with probability at least 8/π28/\pi^2 when k=1k = 1 and greater than 1−1/(2(k−1))1 - 1/(2(k-1)) when k≥2k \ge 2. The procedure uses exactly MM evaluations of the oracle defining Π\Pi (counting each application of QQ once, as in the source). If a=0a = 0 then a~=0\tilde a = 0 with certainty, and if a=1a = 1 and MM is even then a~=1\tilde a = 1 with certainty.

The reason is that A∣0⟩A\ket{0} lies in the plane on which QQ has eigenvalues e±2iθe^{\pm 2i\theta} with sin⁡2θ=a\sin^2\theta = a; phase estimation returns an estimate of ±θ/π\pm\theta/\pi, and both signs give the same sin⁡2\sin^2. An additive error ε\varepsilon therefore costs O(1/ε)O(1/\varepsilon) applications of AA, against O(1/ε2)O(1/\varepsilon^2) samples for estimating aa by repeated measurement of A∣0⟩A\ket{0}.

This is Theorem 12 of Brassard, Høyer, Mosca and Tapp, which also derives quantum counting (estimating the number of marked items) as a corollary. The proof combines the eigen-decomposition in the proof of amplitude amplification with the phase estimation tail bounds and the inequality ∣sin⁡2α−sin⁡2β∣≤∣α−β∣ ∣sin⁡2β∣+(α−β)2\lvert\sin^2\alpha - \sin^2\beta\rvert \le \lvert\alpha - \beta\rvert\,\lvert\sin 2\beta\rvert + (\alpha-\beta)^2; it is not reproduced here.

Holds when
  • The setting of amplitude amplification - a unitary AA, a good-subspace projector Π\Pi, and a=∥ΠA∣0⟩∥2a = \lVert\Pi A\ket{0}\rVert^2.
  • Exact controlled applications of Q=−AS0A†SΠQ = -A S_0 A\dagg S_\Pi; MM is a positive integer (a power of 2 for the QFT-based circuit).

Worked Examples

Three qubits, one solution

N=8N = 8, M=1M = 1: sin⁡θ=1/8\sin\theta = 1/\sqrt8, θ≈0.3614\theta \approx 0.3614 rad. The prescribed number of iterations is k=⌊π/(4θ)⌋=⌊2.17⌋=2k = \lfloor \pi/(4\theta) \rfloor = \lfloor 2.17 \rfloor = 2. The success probability after jj iterations, sin⁡2((2j+1)θ)\sin^2((2j+1)\theta), is

iterations jj 0 1 2 3
success probability 0.1250 0.7813 0.9453 0.3301

After two queries the solution is found with probability 121/128121/128; a classical algorithm with two queries succeeds with probability 2/82/8 if it simply checks two candidates, or 3/83/8 if it also guesses a third unchecked one. A third Grover iteration overshoots and the probability falls to 0.330.33.

A million candidates

N=220N = 2^{20}, M=1M = 1: θ≈9.766×10−4\theta \approx 9.766 \times 10^{-4} and k=804k = 804. The failure probability after 804 iterations is 1−sin⁡2(1609 θ)≈2.4×10−71 - \sin^2(1609\,\theta) \approx 2.4 \times 10^{-7}, within the guaranteed bound M/N≈9.5×10−7M/N \approx 9.5 \times 10^{-7}. A classical search needs about N/2≈5×105N/2 \approx 5 \times 10^5 queries on average.

Algorithms and Implementations

Fixed-point and oblivious variants

Unknown success probability. Standard amplitude amplification overshoots when the number of iterations is wrong, so it needs aa (or MM) in advance; the randomized schedule of Boyer et al. and amplitude estimation are two remedies. Fixed-point search is another: Grover (2005) replaced the reflections by phase shifts of π/3\pi/3, giving an iteration that converges monotonically toward the target but loses the quadratic speed-up. Yoder, Low and Chuang (2014) gave the first fixed-point amplitude amplification that keeps the O(1/a)O(1/\sqrt{a}) scaling: given only a lower bound on aa and a target failure probability, a sequence of generalised reflections with chosen phases guarantees that bound over the widest possible range of aa for its number of queries. Their construction is an early example of the phase-sequence methods developed in quantum signal processing.

Oblivious amplitude amplification. Amplitude amplification reflects about the initial state A∣0⟩A\ket{0}, which is impossible when part of that state is an unknown input ∣ψ⟩\ket{\psi}. Berry, Childs, Cleve, Kothari and Somma (2014) showed that when a unitary WW satisfies W∣0m⟩∣ψ⟩=sin⁡θ ∣0m⟩V∣ψ⟩+cos⁡θ ∣Φψ⊥⟩W\ket{0^m}\ket{\psi} = \sin\theta\,\ket{0^m}V\ket{\psi} + \cos\theta\,\ket{\Phi^\perp_\psi} with VV unitary, θ\theta independent of ψ\psi, and ∣Φψ⊥⟩\ket{\Phi^\perp_\psi} having no component on ∣0m⟩\ket{0^m} in the ancilla, the reflection about ∣0m⟩\ket{0^m} on the ancilla alone suffices, and the iterates rotate by 2θ2\theta exactly as in the standard theorem for every input ∣ψ⟩\ket{\psi}. This is what turns a probabilistic linear-combination-of-unitaries circuit into a deterministic one in Hamiltonian simulation.

Applications

  • Searching the solution space of any problem in NP\mathsf{NP}: a brute-force search over 2n2^n assignments drops to O(2n/2)O(2^{n/2}) oracle calls.
  • Boosting any bounded-error subroutine whose success can be recognised: O(1/a)O(1/\sqrt{a}) instead of O(1/a)O(1/a) repetitions.
  • Amplitude estimation and quantum counting, the basis of proposed quadratic speed-ups for Monte Carlo estimation.
  • Oblivious amplitude amplification inside Hamiltonian simulation and quantum singular value transformation.

Limitations and Common Pitfalls

  • Quadratic speed-ups are fragile in practice. Each oracle call must be implemented as a reversible circuit, typically far more expensive than one classical evaluation, and on error-corrected hardware every logical operation is slow. Babbush et al. (2021) computed runtimes under surface-code assumptions and concluded that quadratic speed-ups will not give an advantage on early fault-tolerant devices without significant improvements in error correction, while quartic speed-ups look much more practical.
  • The oracle is not a database. "Searching an unsorted database" requires loading the data into a quantum-accessible memory, which costs at least as much as reading it classically unless a QRAM is assumed.
  • Do not over-iterate. The success probability oscillates; more iterations can make it worse.
  • Lower bounds are for unstructured problems. For problems with structure, classical algorithms may beat brute force and the relevant comparison is with the best classical algorithm, not with NN queries.

Quantum phase estimation for amplitude estimation, quantum signal processing and quantum singular value transformation for the polynomial view in which Grover search is one example, and quantum complexity theory for oracle separations.

Builds on
Part of
Needed for

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Lov K. Grover (1996). A fast quantum mechanical algorithm for database search. Proceedings of the 28th Annual ACM Symposium on Theory of Computing (STOC '96), 212-219. doi:10.1145/237814.237866arXiv:quant-ph/9605043
  2. Charles H. Bennett, Ethan Bernstein, Gilles Brassard, Umesh Vazirani (1997). Strengths and weaknesses of quantum computing. SIAM Journal on Computing 26(5), 1510-1523. doi:10.1137/S0097539796300933arXiv:quant-ph/9701001
  3. Michel Boyer, Gilles Brassard, Peter Høyer, Alain Tapp (1998). Tight bounds on quantum searching. Fortschritte der Physik 46, 493-505. arXiv:quant-ph/9605034
  4. Christof Zalka (1999). Grover's quantum searching algorithm is optimal. Physical Review A 60, 2746. doi:10.1103/PhysRevA.60.2746arXiv:quant-ph/9711070
  5. Gilles Brassard, Peter Høyer, Michele Mosca, Alain Tapp (2002). Quantum amplitude amplification and estimation. Quantum Computation and Quantum Information, AMS Contemporary Mathematics 305, 53-74. doi:10.1090/conm/305/05215arXiv:quant-ph/0005055
  6. Lov K. Grover (2005). Fixed-point quantum search. Physical Review Letters 95, 150501. doi:10.1103/PhysRevLett.95.150501arXiv:quant-ph/0503205
  7. Theodore J. Yoder, Guang Hao Low, Isaac L. Chuang (2014). Fixed-point quantum search with an optimal number of queries. Physical Review Letters 113, 210501. doi:10.1103/PhysRevLett.113.210501arXiv:1409.3305
  8. Dominic W. Berry, Andrew M. Childs, Richard Cleve, … Rolando D. Somma (2014). Exponential improvement in precision for simulating sparse Hamiltonians. Proceedings of the 46th Annual ACM Symposium on Theory of Computing (STOC 2014), 283-292. doi:10.1145/2591796.2591854arXiv:1312.1414
  9. Ryan Babbush, Jarrod R. McClean, Michael Newman, … Hartmut Neven (2021). Focus beyond quadratic speedups for error-corrected quantum advantage. PRX Quantum 2, 010103. doi:10.1103/PRXQuantum.2.010103arXiv:2011.04149
  10. Michael A. Nielsen, Isaac L. Chuang (2010). Quantum Computation and Quantum Information (10th Anniversary Edition). Cambridge University Press. doi:10.1017/CBO9780511976667

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass with notes · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Topic body only (embedded records carry their own review states). Worked examples recomputed (N = 8: theta = 0.3614, k = 2, probabilities 0.1250/0.7813/0.9453/0.3301, 121/128; N = 2^20: k = 804, failure 2.43e-7 <= 9.5e-7). Oblivious amplitude amplification compared with Berry-Childs-Cleve-Kothari-Somma, arXiv:1312.1414, Lemma 3.6 eq. (6); fixed-point claims with the abstracts of Grover quant-ph/0503205 (pi/3 phase shifts) and Yoder-Low-Chuang 1409.3305; Babbush et al. conclusion with the abstract of 2011.04149; lower-bound attributions with BBBV quant-ph/9701001 and BBHT quant-ph/9605034 Theorems 7-8; amplitude amplification/estimation statements with BHMT quant-ph/0005055.

    The overview attributed the Omega(sqrt(N/M)) lower bound for M solutions to Bennett-Bernstein-Brassard-Vazirani, who treat a single solution (Omega(sqrt N)); the M-solution bound is Theorem 8 of Boyer-Brassard-Hoyer-Tapp. Split the attribution accordingly (BBHT is already in the topic's references).

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision b079635a4d0526e9. Source file knowledge/records/topic/grover-algorithm.md in the content repository (readable there once it is public).