Amplitude amplification Created 2026-09-24 Updated 2026-10-13
Amplitude amplification increases the probability of obtaining an answer accepted by a specified Boolean function. It requires a coherent preparation , its inverse, and a marked-state phase oracle that negates accepted components. Alternating that sign change with a reflection operator about the prepared state directs interference toward the accepted subspace. Brassard, Høyer, Mosca, and Tapp developed the general framework, extending Grover's algorithm beyond a uniform quantum superposition. [ref]
https://arxiv.org/abs/quant-ph/0005055. Brassard et al., Quantum Amplitude Amplification and Estimation, 2000, §2
.If a normalized quantum state has good amplitude , the product of the reflection in the bad axis and the reflection in the state line rotates its good-bad plane by . After iterations the good probability isso iterations raise a small good amplitude close to one. Success subsequently oscillates, making the stopping time part of the algorithm.
Compute the exact Grover search on four entries directly. Order the computational basis as and mark . The Hadamard transform prepares amplitudes . The marked-state phase oracle changes these to , whose arithmetic mean is . The Grover diffusion operator performs inversion about the mean:The three unmarked amplitudes become , while the marked amplitude becomes . All three stages have squared norm one. Here , so and one iteration gives , agreeing with the explicit calculation.
One Grover iteration on four states: a phase flip followed by reflection about the mean concentrates all amplitude on the marked state
. Details. Grover's original search paper was submitted on 29 May 1996; its algorithm combines selective sign changes with inversion about the mean. The example exposes the beauty of that construction: a change initially invisible to computational-basis measurement becomes complete cancellation of every wrong answer. [ref].
The marked-state phase oracle is an assumed operation, whose implementation cost must be counted. Computational-basis measurement yields a candidate label, here ; using it to retrieve a record requires the relevant data access. Preparing a quantum superposition does not make all its entries available as classical outputs. The improvement concerns the number of oracle queries needed to obtain an accepted label.
Known-subset Grover search Created 2026-10-06 Updated 2026-10-14
For a known finite set , prepare the uniform superposition state and implement its reflection operator . If exactly basis states in are marked, the same two-dimensional Grover rotation angle argument uses phase queries. Preparation and reflection are known operations with no calls to the unknown predicate. Their gate cost must be accounted for separately. The success guarantee requires , and choosing the optimal iteration number uses a known .
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 58 2 c Solution Created 2026-10-03 Updated 2026-10-14
For the normalized vector defining the orthogonal projection , for every . Thuswhich proves the projector phase rotation identity in this case:It changes the sign of the component along and fixes the orthogonal complement, so it is a reflection operator.
For a marked computational basis vector , is the marked-state phase oracle. With , the other reflection isThe Hadamard gates thus implement its change of basis from the known all-zero state. The usual Grover diffusion operator is . Consequently a Grover search algorithm iteration isThe minus sign is an irrelevant global phase. These two reflections rotate the search state in the span of the marked vector and the unmarked uniform vector, with the Grover rotation angle controlled by the initial marked amplitude. Iterating them approximately times gives high-probability search. The same pair of projectors appears additively in the continuous-time Hamiltonian, but the product of full reflections and evolution under their sum are distinct dynamics.
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 57 2 a Solution Created 2026-10-03 Updated 2026-10-14
Put and define . The normalized good and bad vectors have disjoint computational basis supports, so they are orthogonal. Counting the terms in the uniform quantum superposition givesSince , the Hadamard transform gives , the Grover diffusion operator. On the ordered orthonormal basis , the two reflection operators have matricesTheir product isThis is a plane rotation through angle in the displayed coordinate convention, with the invariant good-bad plane preserved by both operators. In particular its action sends to . Induction therefore gives the Grover rotation angle formula
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 51 2 b Solution Created 2026-10-03 Updated 2026-10-14
For , use the orthonormal basis from the preceding part. Both reflection operators preserve , because their reflected vectors belong to it. With and , their restricted matrices areMultiplying in the specified order, including the overall minus sign, givesEquivalently,In particular, sends to . This proves the Grover rotation angle description with the signs appropriate to these reflection operators.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 58 2 iii Solution Created 2026-10-03 Updated 2026-10-07
Under the usual reversible-circuit interpretation, there is a genuine obstruction to uniform probability lowering by a unitary in the printed premise. The universal assertion cannot hold for arbitrary : it fails already at the search density .
An explicit counterexample uses , one good basis state , and . The six pure statesall have good probability . Their equally weighted density operator is , a maximally mixed state. Every unitary operator leaves this mixture unchanged, so its average output good probability remains . The printed assertion would instead make all six output probabilities , a contradiction. More generally, averaging states uniformly over good and bad basis vectors and two opposite phases gives , proving the same obstruction at the actual search density .
The intended conditional construction needs only a supplied reversible preparation that lowers the success probability of the particular starting state, not of every state. Here is the complete argument under that weaker resource assumption. Count and as supplied, query-free operations, as required for the claimed input-oracle bound. Let and chooseIf equality holds, use the original preparation. Otherwise use the stipulated preparation on to obtain with good probability . Its reflection operator is implementable byThe good and bad components may be nonuniform, but amplitude amplification applies to this same two-dimensional decomposition. After iterations of , its good probability isThus the stated exact-query conclusion follows from accessible preparation of one known-overlap state and its inverse. If the supplied preparation uses oracle queries, those costs cannot be omitted.
A physically realizable known-state success dilution for exact amplitude amplification is available in the standard enlarged marking-oracle model. Append a flag in , where , and call a joint state good only when and the flag is one. This prepared state's success probability is exactly . Reflect about this known product preparation and mark the joint good subspace; ordinary iterations then succeed with certainty. A supplied controlled phase oracle gives one marking query per iteration, or a Boolean bit oracle computes , applies the joint phase and uncomputes in two queries. Measuring the data therefore returns a good with certainty in queries. This changes the state space and marking test, and does not assert the impossible universal -qubit circuit. Controlled access is an additional resource in a bare phase-oracle model, so it is made explicit rather than silently assumed.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 58 2 ii Solution Created 2026-10-03 Updated 2026-10-07
The amplitude amplification theorem concerns a known preparation quantum circuit and a good-subspace projector . Write , with . Let and . ThenThe reflection operators preserve the two-dimensional good-bad plane and rotate it by , so iterations amplify a small known success probability to a constant close to one. Each iteration uses one good-subspace phase test and one use each of , together with a known reflection. Amplitude amplification provides a quadratic improvement in the number of repetitions of a successful preparation. The query cost of the preparation and its inverse must be included when they themselves use the input oracle. Exact amplitude amplification uses additional known-overlap preparation or phase matching to avoid integer-iteration overshoot.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 324 2 a Solution Created 2026-10-03 Updated 2026-10-06
Take to be normalized and let be the orthogonal projection onto the good subspace. The two reflection operators areThe first fixes the hyperplane orthogonal to and negates its normal direction. The second fixes and negates . Both are Hermitian operators and unitary operators, since their defining projectors square to themselves. For a non-normalized nonzero vector, divide by .
Put , with , and define normalized orthogonal good and bad vectorsThen . The amplitude amplification theorem states that the iterate satisfies, for every nonnegative integer ,To prove it, the span of is invariant under both reflection operators. In that ordered orthonormal basis,Multiplying the second matrix into advances the angle by . Induction proves the formula, and projecting onto gives . The minus sign in is just a global phase choice, but it makes the displayed state formula exact.
If is known, choose nearest to , with . The final angle is within of , so . For , this is at least after iterations, and is close to one when is small. For , measuring the initial state already has success above . Repeated independent attempts with a success test give any fixed desired success probability. This is the quadratic improvement of amplitude amplification over repeated sampling, which takes attempts. At there is no good component to amplify, and at the initial state is already entirely good; these endpoint cases do not require the undefined normalized component vectors.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 324 2 a Solution Created 2026-10-03 Updated 2026-10-06
Assume first . Define the orthonormal quantum statesand by . The relevant invariant subspace is the two-dimensional span of these quantum states, not the entire Hilbert space. The uniform quantum superposition is .
In the ordered orthonormal basis , the marked-state phase oracle is the reflection operator . Since , conjugation by the Walsh-Hadamard transform gives the Grover diffusion operatorIt is the reflection in the line through . The product of these two reflection operators is a rotation matrix by toward the marked quantum state:Thus the Born rule gives . Choose a nonnegative integer nearest to . Rounding changes the angle from by at most , soEach Grover search algorithm iteration uses one marked-state phase oracle query; all other gates are known. A final quantum measurement in the computational basis therefore produces a uniformly chosen marked item, conditional on success, with probability better than one half when . This uses the supplied marked count to select the stopping time; an unknown needs an additional search schedule or counting procedure. If , no oracle query is needed; if , no marked item exists, so a successful search is impossible.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 324 2 a Solution Created 2026-10-03 Updated 2026-10-14
Let be the orthogonal projection onto the good linear subspace , and let be a prepared unit vector with . For , defineThe amplitude amplification theorem states that, if the reflection operators about the initial state and the good subspace can be implemented, the iterationsatisfiesTo prove it, the two reflections preserve the linear span of . In this ordered orthonormal basis, direct multiplication givesMultiplying this rotation matrix by replaces by , proving the formula by mathematical induction.
For known , choose to be a nearest nonnegative integer to . Then , so measurement finds the good subspace with probability at least , using iterations. For , measurement of the initial state already has constant success probability. If success is certain; if these reflections cannot create any good component. If , the initial-state reflection is , implemented using quantum state preparation and its inverse quantum circuit.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 10D a Solution Created 2026-09-24 Updated 2026-10-03
Because ,which is the reflection operator in the line spanned by . Meanwhile changes the sign of every good basis state and fixes every bad basis state; onit is the reflection in the axis. Both reflections preserve , so their product does too.
WriteIn Euclidean geometry, the composition of reflections in two lines through the origin has a rotation matrix through twice the oriented angle between the lines. Hence rotates the good-bad plane by from toward . In particular, the Grover rotation angle formula is
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 3 10C ii Solution Created 2026-09-24 Updated 2026-10-03
Conjugating the reflection operator by a unitary operator reflects about the conjugated state:Thus one may take .
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 324 3 i Solution 2026-09-28
Let be the orthogonal projection onto . The two reflection operators areThe first fixes the hyperplane and changes the sign of ; the second fixes and changes the sign of .
Selective phase rotation Created 2026-09-29 Updated 2026-10-14
For a unit vector and real ,multiplies the component parallel to by and fixes its orthogonal complement. The case is a reflection operator.
A reflection operator is a unitary involution that changes sign on one orthogonal subspace and fixes its orthogonal complement. For a unit vector , reflects in the hyperplane perpendicular to .

