Skip to Content
Quantum Programming in Depth
book

Quantum Programming in Depth

by Mariia Mykhailova
July 2025
Intermediate to advanced content levelIntermediate to advanced
288 pages
9h 53m
English
Manning Publications
Content preview from Quantum Programming in Depth

7 Grover’s search algorithm

This chapter covers

  • Using Grover’s algorithm to solve simple search problems
  • Implementing simple classical functions on a quantum computer
  • Implementing and testing end-to-end quantum algorithms
  • Using Q# and Qiskit to implement Grover’s algorithm

As we saw in chapter 6, solving a classical problem on a quantum computer takes several steps (see figure 7.1). It starts with converting the classical problem to its “quantum” formulation that allows us to come up with a quantum algorithm for it. Then, this algorithm has to be implemented as a quantum program. Finally, we need to compare the performance of the quantum solution to that of the best classical solution for the same problem to decide whether using the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Quantum Software with Python

Building Quantum Software with Python

Charlee Stefanski, Constantin Gonciulea
Quantum Computing

Quantum Computing

Andrew Glasner

Publisher Resources

ISBN: 9781633436909Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link