Chapter 9
Quantum Support Vector Machines
Artificial Intelligence is the new electricity
— Andrew Ng
In the previous chapter, we learned the basics of machine learning and we got a sneak peek into quantum machine learning. It is now time for us to work with our first family of quantum machine learning models: that of Quantum Support Vector Machines (often abbreviated as QSVMs). These are very popular models, and they are most naturally used in binary classification problems.
In this chapter, we shall learn what (classical) support vector machines are and how they are used, and we will use this knowledge as a foundation to understand quantum support vector machines. In addition, we will explore how to implement and train quantum support vector machines with Qiskit and PennyLane.
The contents of this chapter are the following:
Support vector machines
Going quantum
Quantum support vector machines in PennyLane
Quantum support vector machines in Qiskit