
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: ANALYSIS OF ALGORITHMS; Subject: COMPUTER SCIENCE; University: Texas A&M University; Term: Unknown 1989;
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Problem Set 2 CPSC 629 Analysis of Algorithms Andreas Klappenecker
The assignment is due next Wednesday, before class.
Solve exercises 2.14 – 2.27 given in the lecture notes. Give concise and clear answers. Give complete proofs.
Read pages 1–28 in Nielsen and Chuang. Pages 13–28 are important; pages 1–12 make good beadtime reading. If you need further motivation: These pages contain the anwer to at least one homework question!
Common problems in the previous homework:
Please note the following correction:
Exercise 2.27 Design a quantum circuit that implements the parity function f (x 2 , x 1 , x 0 ) = x 2 ⊕ x 1 ⊕ x 0. Show how this circuit can be used to generate the state 1 2
Assume that the input is | 0000 〉. You can use additional single qubit gates to obtain this result.