© Bhagvan Kommadi 2020
B. KommadiQuantum Computing Solutionshttps://doi.org/10.1007/978-1-4842-6516-1_7

7. Quantum Algorithms

Bhagvan Kommadi1  
Hyderabad, India


“If you can’t program it, you haven’t understood it.”

—David Deutsch

This chapter gives you an overview of quantum algorithms. You will see how quantum algorithms are implemented in real life. Code examples are presented for the quantum algorithms, such as quantum least squares fitting and quantum sort.

Initial Setup

You need to set up Python 3.5 to run the code samples in this chapter. You can download it from https://www.python.org/downloads/release/python-350/.

Quantum Least Squares Fitting

In this section, we will look at the algorithm called quantum least squares fitting ...

Get Quantum Computing Solutions: Solving Real-World Problems Using Quantum Computing and Algorithms now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.