Important announcement

Dear visitor,

Please note that this OpenCourseWare platform will be replaced at the end of 2026 by a new platform (under the same url ocw.tudelft.nl).

Courses and their contents that are currently available the platform will partly be migrated. URL’s for this content will change and content might be unavailable for some time. In addition, some courses will not be available anymore.

If you are linking to specific courses on this platform (for instance for your students), please take timely measures to avoid problems with access. Possible actions are:

  • Download the materials to your local platform (laptop, server)
  • For educators only (including TU Delft lecturers): Contact us at ocw@tudelft.nl and inform us what course you are using in what context (institute, program, period of use, number of students). We will research (in collaboration with the authors of the course) and decide if we will migrate the course, and if yes, can supply you with a new url.

Thank you.

3.2.4 Grover’s algorithm

Course subject(s) Module 3: Quantum algorithms & error correction

In this video, Ben introduces Grover’s algorithm, which searches through bit strings to find one which is different from the others. This different element (often called ‘the marked state’) is labelled by an oracle or black-box function. This prevents us from evaluating the number of quantum gates required, as the circuit decomposition for such an oracle is, in general, unknown. Instead, we use the number of oracle queries, or uses, as a stand-in. This number of queries scales as √N in contrast to the N queries which are required classically. This makes Grover’s algorithm interesting, though less of a ‘killer app’ than quantum phase estimation or factoring.

Main takeaways

  • Not all quantum algorithms are necessarily exponentially faster than classical algorithms. Grover’s algorithm, for example, is only quadraticallyfaster than the classical brute-force method.
  • Some quantum algorithms use oracles, which are black-box unitary operators whose circuit decompositions are not known. The number of times the oracle is used (the number of queries) is used as a surrogate for complexity.
Creative Commons License
The Building Blocks of a Quantum Computer: Part 2 by TU Delft OpenCourseWare is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Based on a work at https://online-learning.tudelft.nl/courses/the-building-blocks-of-a-quantum-computer-part-2/.
Back to top
[sg_popup id=6]