Implementation and Empirical Evaluation of a Quantum Machine Learning Pipeline for Local Classification

Enrico Zardini, Enrico Blanzieri, Davide Pastorello
5/11/2022
cs.ETquant-ph

Official code: ZarHenry96/quantum-ml-pipeline (2 stars, Python, AGPL-3.0, last commit 2023-02-06).

Abstract

In the current era, quantum resources are extremely limited, and this makes difficult the usage of quantum machine learning (QML) models. Concerning the supervised tasks, a viable approach is the introduction of a quantum locality technique, which allows the models to focus only on the neighborhood of the considered element.

Show full abstract

A well-known locality technique is the k-nearest neighbors (k-NN) algorithm, of which several quantum variants have been proposed. Nevertheless, they have not been employed yet as a preliminary step of other QML models, whereas the classical counterpart has already proven successful. In this paper, we present (i) an implementation in Python of a QML pipeline for local classification, and (ii) its extensive empirical evaluation. Specifically, the quantum pipeline, developed using Qiskit, consists of a quantum k-NN and a quantum binary classifier. The results have shown the quantum pipeline's equivalence (in terms of accuracy) to its classical counterpart in the ideal case, the validity of locality's application to the QML realm, but also the strong sensitivity of the chosen quantum k-NN to probability fluctuations and the better performance of classical baseline methods like the random forest.

View on arXivView PDF

Code Implementations(1)

AGPL-3.0
20Python, ShellMar 7, 20223 years agoAGPL-3.0

Similar Papers

Cite this paper

@article{zardini2022implementation,
  title  = {Implementation and Empirical Evaluation of a Quantum Machine Learning Pipeline for Local Classification},
  author = {Enrico Zardini and Enrico Blanzieri and Davide Pastorello},
  year   = {2022},
  eprint = {2205.05333},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.05333}
}

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/2205.05333.svg)](https://codeofpaper.com/paper/2205.05333)

Discussion