Neha Patil (Editor)

Amplitude amplification

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

Amplitude amplification is a technique in quantum computing which generalizes the idea behind the Grover's search algorithm, and gives rise to a family of quantum algorithms. It was discovered by Gilles Brassard and Peter Høyer in 1997, and independently rediscovered by Lov Grover in 1998.

Contents

In a quantum computer, amplitude amplification can be used to obtain a quadratic speedup over several classical algorithms.

Algorithm

The derivation presented here roughly follows the one given in . Assume we have an N-dimensional Hilbert space H representing the state space of our quantum system, spanned by the orthonormal computational basis states B := { | k } k = 0 N 1 . Furthermore assume we have a Hermitian projection operator P : H H . Alternatively, P may be given in terms of a Boolean oracle function χ : Z { 0 , 1 } and an orthonormal operational basis B op := { | ω k } k = 0 N 1 , in which case

P := χ ( k ) = 1 | ω k ω k | .

P can be used to partition H into a direct sum of two mutually orthogonal subspaces, the good subspace H 1 and the bad subspace H 0 :

H 1 := Image P = span { | ω k B op | χ ( k ) = 1 } , H 0 := Ker P = span { | ω k B op | χ ( k ) = 0 } .

Given a normalized state vector | ψ H which has nonzero overlap with both subspaces, we can uniquely decompose it as

| ψ = sin ( θ ) | ψ 1 + cos ( θ ) | ψ 0 ,

where θ = arcsin ( | P | ψ | ) [ 0 , π / 2 ] , and | ψ 1 and | ψ 0 are the normalized projections of | ψ into the subspaces H 1 and H 0 , respectively. This decomposition defines a two-dimensional subspace H ψ , spanned by the vectors | ψ 0 and | ψ 1 . The probability of finding the system in a good state when measured is sin 2 ( θ ) .

Define a unitary operator Q ( ψ , P ) := S ψ S P , where

S ψ = I 2 | ψ ψ | and S P = I 2 P .

S P flips the phase of the states in the good subspace, whereas S ψ flips the phase of the initial state | ψ .

The action of this operator on H ψ is given by

Q | ψ 0 = S ψ | ψ 0 = ( 2 cos 2 ( θ ) 1 ) | ψ 0 + 2 sin ( θ ) cos ( θ ) | ψ 1 and Q | ψ 1 = S ψ | ψ 1 = 2 sin ( θ ) cos ( θ ) | ψ 0 + ( 1 2 sin 2 ( θ ) ) | ψ 1 .

Thus in the H ψ subspace Q corresponds to a rotation by the angle 2 θ :

Q = ( cos ( 2 θ ) sin ( 2 θ ) sin ( 2 θ ) cos ( 2 θ ) ) .


Applying Q n times on the state | ψ gives

Q n | ψ = cos ( ( 2 n + 1 ) θ ) | ψ 0 + sin ( ( 2 n + 1 ) θ ) | ψ 1 ,

rotating the state between the good and bad subspaces. After n iterations the probability of finding the system in a good state is sin 2 ( ( 2 n + 1 ) θ ) .
The probability is maximized if we choose

n = π 4 θ .

Up until this point each iteration increases the amplitude of the good states, hence the name of the technique.

Applications

Assume we have an unsorted database with N elements, and an oracle function χ which can recognize the good entries we are searching for, and B op = B for simplicity.

If there are G such entries in the database in total, then we can find them by initializing the quantum computer into a uniform superposition

| ψ = 1 N k = 0 N 1 | k

of all the database elements, and running the above algorithm. In this case the overlap of the initial state with the good subspace is equal to the square root of the frequency of the good entries in the database, sin ( θ ) = | P | ψ | = G / N . If sin ( θ ) 1 , we can approximate the number of required iterations as

n = π 4 θ π 4 sin ( θ ) = π 4 N G = O ( N ) .

Measuring the state will now give one of the good entries with a high probability. Since each application of S P requires a single oracle query (assuming that the oracle is implemented as a quantum gate), we can find a good entry with just O ( N ) oracle queries, thus obtaining a quadratic speedup over the best possible classical algorithm.

If we set G to one, the above scenario essentially reduces to the original Grover search.

References

Amplitude amplification Wikipedia