Docsity

Practice Exam 2 for Quantum Computing | COT 6600, Exams of Computer Science

Toggle sidebar
bg1
Department of Computer Science
University of Central Florida
COT 6600 – Quantum Computing
Fall 2007 (PW)
Name:
Qualifying Exam – Fall 2007.
Read carefully and follow the rules below.
1. This exam consists of 10 pages and 4 problems. The space provided should be enough
for the answers. Do not add additional pages to the exam.
2. Justify your answers. Make sure that you explain clearly each step in your reasoning.
3. The exam is closed book.
1 25
2 25
3 25
4 25
Total 100
1
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Practice Exam 2 for Quantum Computing | COT 6600 and more Exams Computer Science in PDF only on Docsity!

Department of Computer Science University of Central Florida COT 6600 – Quantum Computing Fall 2007 (PW)

Name:

Qualifying Exam – Fall 2007.

Read carefully and follow the rules below.

  1. This exam consists of 10 pages and 4 problems. The space provided should be enough for the answers. Do not add additional pages to the exam.
  2. Justify your answers. Make sure that you explain clearly each step in your reasoning.
  3. The exam is closed book.

Total 100

Problem 1 (25 points)

  1. Show that the two-qubit state

|ψ〉 :=

√^1

cannot be expressed as a tensor product of two one-qubit states.

  1. Construct a quantum circuit that transforms the initial state | 00 〉 to the state |ψ〉 in 1.

Problem 2 (25 points)

  1. Show that the quantum circuits

eiα^0 0 eiα

0 eiα

are equivalent.

  1. Prove that the quantum circuit
    • (^) H X H

Z •

implements the identity.

  1. Construct a quantum circuit Uf that (reversibly) implements the 3-bit Boolean function

f (x 1 , x 2 , x 3 ) = x 1 · x 2 ⊕ x 3 ,

i.e., Uf should act as follows

Uf

|x 1 , x 2 , x 3 〉 ⊗ |y〉

= |x 1 , x 2 , x 3 〉 ⊗ |y ⊕ f (x 1 , x 2 , x 3 )〉

for all x 1 , x 2 , x 3 , y ∈ { 0 , 1 }. Hint: You can use controlled-controlled-U gates for arbitrary U.

Problem 3 (25 points) Many quantum algorithms produce states of the form

x |x〉 |f^ (x)〉, including Shor’s factoring algorithm. Let a = 2, N = 21 and q = 128. In this case, the first step in Shor’s algorithm creates the state

|ψ〉 =

q

∑^ q−^1

x=

|x〉 |ax^ mod N 〉

  1. What is the post measurement state |ψ′〉 if the second register was measured and the outcome was 16.
  2. Once we have determined the order of a, explain how we can use this information to extract a prime factor of N. Discuss the general method and apply it to the above example.
  1. What happens in the following cases

(a) |ψ 1 〉 = |ψ 2 〉

(b) |ψ 1 〉 and |ψ 2 〉 are orthogonal?