Quantum Search Algorithms For Multiple Solution Problems: EECS 598 Class Presentation Manoj Rajagopalan
Quantum Search Algorithms For Multiple Solution Problems: EECS 598 Class Presentation Manoj Rajagopalan
Quantum Search Algorithms For Multiple Solution Problems: EECS 598 Class Presentation Manoj Rajagopalan
Outline
1. Recap of Grovers algorithm for the unique solution case
References
1. Quantum Computing and Quantum Information textbook
Notation
1. n = # qubits in the system
1
N 1/ 2
i
i 0
| = k |i0 +
l
j i 0
Apply Hn
Apply Hn
x
(1) x 0 x
(k , l ) (k j , l j )
Gj
N 2
2( N 1)
kj
k j 1
l j 1
k0 1
N
N
N
N 2
2
lj
l j 1 k j 1
l0 1
N
N
N
Need bound on the number of iterations
0< 2
1
lj
cos((2 j 1) )
N 1
1
~
=> m
4 2
k j sin(( 2 j 1) )
For km = 1,
(2m+1) = /2
1
N
m N
4
|B| = N - M
Apply Hn
Apply Hn
(k , l ) k i l i
i A
iB
After j iterations:
(k , l ) (k j , l j )
Gj
1
kj
sin((2 j 1) )
M
sin 2 M
lj
2
1
cos((2 j 1) )
N M
m
4
~
mm
=>
1
1
~
m
4 2
| cos(2m+1) | | sin |
Probability of failure after exactly m iterations
(N-M) lm2 = cos2((2m+1)) sin2 = M N
Negligible for M << N
4 4 sin 4
Take m =
Quantum Counting
Aim: To determine the number of solutions M to an N item
unstructured search problem
Quantum Counting
Recall: The computational bases can be partitioned into two
subsets, the good states set A containing all the solutions, and
(k , l ) k i l i
i A
Letting
cos
we get
in the ,
iB
N M
,
N
cos 2
G
sin 2
basis.
N M
M
N
N
sin
sin 2
,
cos 2
M
,
N
Quantum Counting
Eigenvalues of G are ei2 and ei(2-2)
The value of can be determined by phase estimation
From , the value of M can be calculated
PHASE ESTIMATION
Given a unitary operator U and one of its eigenvectors, the
phase of its corresponding eigenvalue ei2 is determined
Quantum Counting
Complexity of phase estimation algorithms
Probability
Error in M
Runtime, P
of success
Absolute, max
Evaluations of F
2
2
MN 2 N
P
P
2
2
M 2
c
c
P4
8
8
c N
((c log log N ) N M )