

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!


Math/Phys 4782: Some Previous Quiz 2 problems + examples
UF T |x⟩ =
2 n
(^2) Xn− 1
y=
e^2 πixy/^2
n |y⟩.
Let the n-qubit state input to a quantum Fourier transform gate be given by
(|x 0 ⟩ + |x 0 + r⟩)
where x 0 and r are fixed non-negative integers and 0 < x 0 + r ≤ 2 n^ − 1. Find (a) the output state vector UF T |Ψ⟩, and, (b) in its simplest form, the probability to measure all n qubits have the value 1 following the gate action.
(a) Writing UF T |Ψ⟩ =
P 2 n− 1 y=0 αy|y⟩,^ we compute
αy =
2 n+^
ei^2 πx^0 y/^2 n 1 + ei^2 πry/^2 n ^ .
(b) Since by Born’s rule,
p(y) = |αy|^2 =
2 n−^1
cos^2
πry 2 n
The probability that all qubits are measured in the state 1, implies that we set y =
Pn− 1 k=0 2
k (^) = 2n (^) − 1 , in the last formula.
Find the period of f.
11; 2^8 ≡ 22 ≡ 9; 2^9 ≡ 18 ≡ 5; 2^10 ≡ 10; 2^11 ≡ 20 ≡ 7; 2^12 ≡ 14 ≡ 1 so the period is 12.
UF T |x⟩ =
2 n
(^2) Xn− 1
y=
e^2 πixy/^2 n |y⟩.
Let the n-qubit state input to a quantum Fourier transform gate be given by
2 n/^2
(^2) Xn− 1
x=
|x⟩.
Find the output state vector UF T |Ψ⟩, and the probability to measure that all n qubits have the value 0 following the gate action. NOTE: a + ar + ar^2 + ... + arN^ −^1 = a(1 − rN^ )/(1 − r); The binary expansion is x = xn− 12 n−^1 + xn− 22 n−^2 ... + x 02.
Now,
UF T |Ψ⟩ =
2 n
(^2) Xn− 1
y=
(^2) Xn− 1
x=
e^2 πixy/^2
n
|y⟩.
The term in parenthesis is a function of y. Clearly, it equals 2 n^ when y = 0, and by the formula for the geometric progression, when y ̸= 0,
(^2) Xn− 1
x=
e^2 πixy/^2
1 − ei^2 πy 1 − ei^2 πy/^2 n^
because 1 = ei^2 πy. Thus UF T |Ψ⟩ = |y = 0⟩ = | 0 ⟩ ⊗ ... ⊗ | 0 ⟩ and the probability that y = 0 is 1 by Born’s rule.
∥P ∥ = sup
n P ψ⟩ : |ψ⟩ ∈ H, ψ⟩ = 1
o .