Docsity

Georgia Tech MATH 4782 Quantum Information and Quantum Computing Exam 2 Practice Problems, Exams of Quantum Computing

Toggle sidebar
bg1
Math/Phys 4782: Some Previous Quiz 2 problems + examples
1. The n-qubit quantum Fourier transform is defined on the computational
basis states, {|x⟩:x= 0,1, ..., 2n−1},by
UF T |x⟩=1
√2n
2n−1
X
y=0
e2πixy/2n|y⟩.
Let the n-qubit state input to a quantum Fourier transform gate be given by
|Ψ⟩=1
√2(|x0⟩+|x0+r⟩)
where x0and rare fixed non-negative integers and 0 < x0+r≤2n−1.
Find (a) the output state vector UFT |Ψ⟩,and, (b) in its simplest form,
the probability to measure all nqubits have the value 1 following the gate
action.
(a) Writing UFT |Ψ⟩=P2n−1
y=0 αy|y⟩,we compute
αy=1
√2n+1 ei2πx0y/2n1 + ei2πr y/2n.
(b) Since by Born’s rule,
p(y) = |αy|2=1
2n−1cos2πry
2n,
The probability that all qubits are measured in the state 1, implies that
we set y=Pn−1
k=0 2k= 2n−1,in the last formula.
2. Let fbe a function on the positive integers Z+={0,1,2, ...},and defined
by
f(x)≡2x(mod 13).
Find the period of f.
1
pf3

Partial preview of the text

Download Georgia Tech MATH 4782 Quantum Information and Quantum Computing Exam 2 Practice Problems and more Exams Quantum Computing in PDF only on Docsity!

Math/Phys 4782: Some Previous Quiz 2 problems + examples

  1. The n-qubit quantum Fourier transform is defined on the computational basis states, {|x⟩ : x = 0, 1 , ..., 2 n^ − 1 }, by

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.

  1. Let f be a function on the positive integers Z +^ = { 0 , 1 , 2 , ...}, and defined by f (x) ≡ 2 x(mod 13).

Find the period of f.

20 = 1; 2^1 = 2; 2^2 = 4; 2^3 = 8; 2^4 = 16 ≡ 3; 2^5 ≡ 6; 2^6 ≡ 12; 2^7 ≡ 24 ≡

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.

  1. The n-qubit quantum Fourier transform is defined by its action on the computational basis states, {|x⟩ : x = 0, 1 , ..., 2 n^ − 1 }, by

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

n

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.

  1. Find the operator norm of a non-zero orthogonal projection P on Hilbert space H, where

∥P ∥ = sup

n P ψ⟩ : |ψ⟩ ∈ H, ψ⟩ = 1

o .