

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Assignment 4 Out: 11/26/2007 Due: 12/03/
x indicates a sum over all x which are solutions to the search problem and
x indicates a sum over all x which are not solutions to the search problem. Define the normalized states
|α〉 ≡
x
′′ |x〉
|β〉 ≡
x
′ |x〉
Note that the initial state
|ψ〉 =
x
|x〉
can be expressed as
|ψ〉 =
|α〉 +
|β〉.
Let cos θ/2 =
N − M/N. Now we can rewrite |ψ〉 as
|ψ〉 = cos(θ/2)|α〉 + sin(θ/2)|β〉.
cos(θ/2) − sin(θ/2) sin(θ/2) cos(θ/2)
where θ is a real number in the range 0 to π/2, chosen so that
sin θ =
Page 1 of 2
This means that G is simply a rotation by angle θ in the plane spanned by |α〉 and |β〉.
The intuition behind Grover’s algorithm is that with each application of G we get closer to the state |β〉. Let CI(x) denote the closest integer to the real number x. Repeating the Grover iteration
(arccos
θ
times rotates |ψ〉 very close to |β〉. The angle between GR^ |ψ〉 and |β〉 is at most θ/2.
M/N. Show that
R ≤ d
π
4
e
That is R = O(
Page 2 of 2