Professional Documents
Culture Documents
3.8_Problem_Set
3.8_Problem_Set
3.8_Problem_Set
com
For this Problem Set instead of solving questions we are going to prove:
r−1
1 X
√ |us ⟩ = |1 mod(N )⟩
r s=0
ANSWER:
r−1
1 X −2πisk/r k
|us ⟩ = √ e |a mod(N )⟩
r k=0
So,
r−1 r−1 r−1
1 X 1 X 1 X −2πisk/r k
√ |us ⟩ = √ √ e |a mod(N )⟩
r s=0 r s=0 r k=0
r−1 r−1
1 X X −2πisk/r
= e |ak mod(N )⟩
r k=0 s=0
1
Introduction to Quantum Computing: quantumsoar.com
ANSWER:
r−1
X r−1
X
−2πis(0)/r
e = e0
s=0 s=0
r−1
X
= 1
s=0
=r
= 1 + ω + ω + ... + ω r−1
2
r−1
X 1 − ωr
ωs =
s=0
1−ω
1 − e−2πisk
=
1 − e−2πisk/r
1−1
= , since e2πmi = 1, for all integers m
1 − e−2πisk/r
=0
From this we can see that when k = 0 the part of the equation we are considering is
equal to r. And when k ̸= 0 it is 0. This means that our state will only contain the part
when k = 0, making our equation this:
r−1 r−1
X
1X −2πisk/r 1
e |ak mod(N )⟩ = r|a0 mod(N )⟩ = |1 mod(N )⟩
r k=0 s=0
r
Therefore,
r−1
1 X
√ |us ⟩ = |1 mod(N )⟩
r s=0
For formal proof of the reduction of factoring to period-finding see the Appendix of
Quantum Computation and Quantum Information (section A4.3)