Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Topic

Amplitude amplification

A generalization of Grover search that boosts the success amplitude of a coherent procedure using reflections and its inverse.

Also called quantum amplitude amplification

Edition released Coverage: Overview · Technical
On this page

Definition and significance

Amplitude amplification starts from a preparation algorithm A whose measurement has success probability a. It coherently amplifies the good component using A, A dagger and a success predicate. This framework applies beyond uniform search, including algorithms where a useful starting distribution has already been prepared.

The improvement concerns the number of coherent calls needed to obtain a success. Ordinary independent repetition needs order 1/a trials; amplitude amplification can reduce this to order 1/sqrt(a) under suitable access and controllability assumptions.

Mechanism and mathematical treatment

Write A|0>=sqrt(a)|G>+sqrt(1-a)|B>, with sin^2(theta)=a. A phase reflection about good states and a reflection about A|0> generate a two-dimensional rotation. The latter reflection can be implemented as A(2|0><0|-I)A dagger. Conventions differ by an overall sign; the observable success formula is sin^2((2k+1)theta).

The inverse of A is essential in the standard construction. If A includes measurements whose outcomes have been discarded, it cannot simply be reversed as a unitary. One can sometimes keep a coherent record of internal branches, but that changes resources and must be explicit.

Fully worked reference example

Let A=R_Y(pi/3), with success defined as measuring 1. Then A|0>=(sqrt(3)/2)|0>+(1/2)|1>, so a=1/4 and theta=pi/6. A single amplification iteration gives success sin^2(3theta)=1. Here the reflection about A|0> is the matrix 2|psi><psi|-I=[[1/2,sqrt(3)/2],[sqrt(3)/2,-1/2]]. The good-state phase reflection is Z. Their product acting on |psi> yields |1> up to the selected global-sign convention.

A second iteration gives sin^2(5pi/6)=1/4. The apparently successful algorithm has been rotated away from success. Exact phase choices or fixed-point constructions address different robustness requirements; they are not implied by ordinary repeated Grover iterations.

Limitations and common misconceptions

Postselection and amplification are different. Postselection describes conditioning on a successful outcome; amplification pays coherent circuit cost to make that outcome more likely. It does not make an exponentially small success amplitude free. Practical value also depends on the depth and error of A and A dagger.

Scientific relationships

The amplification iterate carries eigenphases encoding the success probability.

Uniform search is a special preparation and marking instance.

Appropriate polynomial transformations include amplification constructions under specified access assumptions.

Historical source context

The Brassard-Hoyer-Mosca-Tapp preprint was submitted on 15 May 2000; the associated chapter appeared in 2002. Earlier search and counting work supplied antecedents, so the framework should not be assigned a single simplistic invention date.

Deriving the iterate in the good-bad basis

Use the ordered basis (|G>,|B>) and let the prepared vector be (sin(theta),cos(theta)). The good-state phase reflection is S_G=diag(-1,1). Reflection about the prepared vector is R_psi=[[ -cos(2theta),sin(2theta)],[sin(2theta),cos(2theta)]]. Multiplying R_psi S_G gives Q=[[cos(2theta),sin(2theta)],[-sin(2theta),cos(2theta)]]. Acting on the prepared vector yields (sin(3theta),cos(3theta)), which fixes the rotation sign under this basis convention.

The eigenvalues of Q are exp(plus or minus 2i theta). Corresponding normalized eigenvectors can be taken as (|G>+i|B>)/sqrt(2) and (|G>-i|B>)/sqrt(2), with the eigenvalue sign checked by multiplication. The initial state is a superposition of these two eigenvectors. This spectral form is the bridge to amplitude estimation, but ordinary amplification requires no explicit eigenphase readout.

For a=1/9, sin(theta)=1/3. One iteration has good amplitude 3(1/3)-4(1/27)=23/27, giving success 529/729. Two iterations have amplitude 5/3-20/27+16/243=241/243, giving success 58081/59049. These are exact rational probabilities even though theta is not a simple rational multiple of pi.

The inverse-preparation ledger

Suppose A is a coherent algorithm with gate cost C_A, inverse cost C_Ainv, and clean workspace width w. A standard reflection about A|0> uses A dagger, a zero-state phase reflection, and A. An amplified run with k iterations therefore uses k+1 forward preparations and k inverse preparations, together with k success reflections and k zero-state reflections. If forward and inverse costs match, the preparation contribution is (2k+1)C_A.

For the a=1/9 example and k=2, there are five preparation-or-inverse calls, two success reflections and two zero-state reflections. Comparing this with nine expected independent trials is meaningful only after accounting for the different costs and the fact that success is not exactly certain. With p=58081/59049, verified independent retries of this amplified run require an expected 1/p attempts. The expected number of preparation-or-inverse calls is 5/p, approximately 5.08333.

An internally measured algorithm A cannot be inverted merely by reversing its visible gates after outcomes have been discarded. One possible coherent embedding stores the branch information in additional registers and implements the controls unitarily. The enlarged A then has its own preparation and cleanup cost. In some applications that cost is acceptable; in others it destroys the anticipated gain. The two-dimensional formula assumes the required coherent A is actually available.

A rare-success subroutine and output semantics

Imagine a preparation that produces a proposed two-bit answer together with a success flag. Let its successful projection be sqrt(1/12)|00>|1>+sqrt(1/6)|11>|1>, with all remaining amplitude in flag zero. The total success probability is 1/4. One ideal amplification iteration makes success certain and leaves the normalized answer sqrt(1/3)|00>+sqrt(2/3)|11>, tensor the flag |1>.

The algorithm has increased the chance that the flag is one; it has not changed the relative distribution of successful answers. If the application requires the answer 00 specifically, the relevant predicate must mark that condition rather than merely the broad success flag. A valid state-preparation routine can therefore be amplified while still producing the wrong output distribution for a differently stated task.

At a=0 there is no successful component to amplify, and the two-dimensional basis vector |G> is undefined. At a=1 the preparation already succeeds, and amplification is unnecessary. Near these boundaries, formulas that divide by sqrt(a) or sqrt(1-a) should be understood by their limiting action on the actual state rather than by introducing nonexistent normalized components. A robust mathematical specification handles these cases separately.

The classical alternative is repeated preparation followed by checking the success flag, with expected 1/a trials under independent repetitions. If a successful trial can be recognized cheaply and the coherent inverse is expensive, classical repetition may be preferable for finite problem sizes despite the favorable asymptotic query dependence. The comparison belongs to an explicit cost model rather than to the angle formula alone.

The most likely single quantum search is not always the best campaign

Amplitude amplification rotates an ideal state toward a marked subspace, but continuing the rotation can move it away again. A familiar teaching problem asks how many iterations maximize the success of one attempt. A complete workflow can ask a different question: how many iterations leave the best overall chance of success within one time budget? The lab uses the ideal two-dimensional rotation formula and adds an explicit preparation cost and oracle-equivalent timing convention. Each candidate depth allows a different number of complete restarts. The campaign success is then calculated from those independent attempts. The best single attempt and best whole campaign are reported separately rather than forcing them into one headline ratio. This is an extension of an algorithm lesson, not a practical speedup estimate. A real oracle must be constructed and uncomputed, data preparation must be counted, and marked outputs need verification. Those costs can dominate an application. The useful interaction lets the reader increase preparation cost while leaving the ideal quantum rotation unchanged, making clear that algorithmic probability and complete workload time are separate layers of evidence.

Model: theta = asin(sqrt(marked fraction)); Ideal per-attempt success = sin²((2k+1)theta); Declared attempt time = preparation + (2k+1) × oracle-equivalent time; Campaign success = 1-(1-per-attempt success)^complete_attempts Assumptions: The ideal amplitude-amplification model is exact in the synthetic calculation. The timing convention is chosen for this exercise. Restarts are independent and verification is included only through the declared budget convention.

The best tested campaign choice is k = 6; the best single-attempt probability occurs at k = 6. They optimize different quantities. A real advantage claim must also establish the oracle construction, state preparation, verification and fair classical search cost; this ideal rotation model supplies none of those performance facts.

Limitations: The oracle-equivalent coefficient is not a universal hardware gate count. The calculation contains no fair classical comparison.

Specified synthetic inputs
QuantityValue
Marked fraction0.015625
Oracle-equivalent time1
Preparation time2
Total time budget80
Maximum iterations per attempt24
Calculated baseline results · Approximate values use up to 6 significant digits.
Calculated quantitySynthetic result
Best tested iterations per attempt6
Attempts fitting the budget5
Success per chosen attempt0.996586
Campaign success probability≈1
Best single-attempt iteration count6
Unamplified campaign success0.335989
Unamplified attempt and the two distinct optimization objectives · Approximate values use up to 6 significant digits.
IterationsSingle-attempt successDurationComplete attemptsCampaign success
00.0156253260.335989
60.996586155≈1

Sources

  • Gilles Brassard; Peter Hoyer; Michele Mosca; Alain Tapp · · Research paper · Publication status unspecified · arXiv
    Verification scope

    Selected source text checked ·

    Theoretical oracle model; independent examples do not constitute end-to-end hardware demonstrations.

  • Reference · quantum.cloud.ibm.com
    Verification scope

    Citation identity checked ·

    This check establishes the source title and link. Scientific claim review is separate.