English

A didactic approach to quantum machine learning with a single qubit

Quantum Physics 2023-04-11 v2

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.

Keywords

Cite

@article{arxiv.2211.13191,
  title  = {A didactic approach to quantum machine learning with a single qubit},
  author = {Elena Peña Tapia and Giannicola Scarpa and Alejandro Pozas-Kerstjens},
  journal= {arXiv preprint arXiv:2211.13191},
  year   = {2023}
}

Comments

25 pages, 12 figures. The computational appendix is available at https://github.com/ElePT/single-qubit-qnn V2: Updated to match published version

R2 v1 2026-06-28T06:42:16.391Z