A didactic approach to quantum machine learning with a single qubit

Elena Peña Tapia, Giannicola Scarpa, Alejandro Pozas-Kerstjens
11/23/2022
quant-ph

Official code: ElePT/single-qubit-qnn (4 stars, Jupyter Notebook, last commit 2023-02-10).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Qiskit implementation of the single qubit quantum neural network from Pérez-Salinas et al.

40Jupyter Notebook, PythonNov 9, 20213 years ago

Similar Papers

Cite this paper

@article{tapia2022didactic,
  title  = {A didactic approach to quantum machine learning with a single qubit},
  author = {Elena Peña Tapia and Giannicola Scarpa and Alejandro Pozas-Kerstjens},
  year   = {2022},
  eprint = {2211.13191},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.13191}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.13191.svg)](https://codeofpaper.com/paper/2211.13191)

Discussion