assignment6

# assignment6 - April 6 2006 Physics 681-481 CS 483...

• Homework Help
• PresidentHackerCaribou10582
• 2
• 100% (1) 1 out of 1 people found this document helpful

This preview shows pages 1–2. Sign up to view the full content.

April 6, 2006 Physics 681-481; CS 483: Assignment #6 Searching for one of 4 items (please hand in after the lecture, Thursday, April 20) We explore here Grover’s algorithm when it is applied to identify one of only four items. This turns out to be a special case in two ways. (1) The probability of success after just a single query of the oracle turns out to be exactly 1. (2) The general procedure for constructing W = 2 | φ ih φ | - 1 out of Toffoli gates does not apply when the input register has only two qubits, and a different (simpler) construction must be used, special to the case | φ i = 1 2 ( | 00 i + | 01 i + | 10 i + | 11 i ) . 1. To convince yourself that Grover’s algorithm is not entirely uninteresting when N = 4, note that if you have a classical oracle that indicates which of four items is special, all you can do is apply the oracle to one randomly selected item after another. What is the mean number of queries of the classical oracle required to determine which item is special?

This preview has intentionally blurred sections. Sign up to view the full version.

This is the end of the preview. Sign up to access the rest of the document.
• Spring '08
• Ginsparg

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern