Chapter 10
Quantum Neural Networks
The mind is not a vessel to be filled, but a fire to be kindled.
— Plutarch
In the previous chapter, we explored our first family of quantum machine learning models: quantum support vector machines. Now it is time for us to take one step further and consider yet another family of models, that of Quantum Neural Networks (QNNs).
In this chapter, you will learn how the notion of a quantum neural network can arise naturally from the ideas behind classical neural networks. Of course, you will also learn how quantum neural networks work and how they can be trained. Then, you will explore how quantum neural networks can actually be implemented, run, and trained using the two quantum frameworks that we have been working with so far: Qiskit and PennyLane.
These are the contents of this chapter:
Building and training quantum neural networks
Quantum neural networks in PennyLane
Quantum neural networks in Qiskit: a commentary
Quantum support vector machines...