Introduction
“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 ...