A didactic approach to quantum machine learning with a single qubit
Abstract
This paper presents, via an explicit example with a real-world dataset, a hands-on introduction to the field of quantum machine learning (QML). We focus on the case of learning with a single qubit, using data re-uploading techniques. After a discussion of the relevant background in quantum computing and machine learning we provide a thorough explanation of the data re-uploading models that we consider, and implement the different proposed formulations in toy and real-world datasets using the qiskit quantum computing SDK. We find that, as in the case of classical neural networks, the number of layers is a determining factor in the final accuracy of the models. Moreover, and interestingly, the results show that single-qubit classifiers can achieve a performance that is on-par with classical counterparts under the same set of training conditions. While this cannot be understood as a proof of the advantage of quantum machine learning, it points to a promising research direction, and raises a series of questions that we outline.
- Publication:
-
Physica Scripta
- Pub Date:
- May 2023
- DOI:
- 10.1088/1402-4896/acc5b8
- arXiv:
- arXiv:2211.13191
- Bibcode:
- 2023PhyS...98e4001P
- Keywords:
-
- quantum machine learning;
- neural networks;
- fraud detection;
- supervised learning;
- Quantum Physics
- E-Print:
- 25 pages, 12 figures. The computational appendix is available at https://github.com/ElePT/single-qubit-qnn V2: Updated to match published version