Quantum Clustering with k-Means: a Hybrid Approach

Alessandro Poggiali, Alessandro Berti, Anna Bernasconi, Gianna M. Del Corso, Riccardo Guidotti
12/13/2022
quant-phcs.ETcs.LG

Official code: AlessandroPoggiali/QKmeans (9 stars, Jupyter Notebook, last commit 2025-10-15).

Abstract

Quantum computing is a promising paradigm based on quantum theory for performing fast computations. Quantum algorithms are expected to surpass their classical counterparts in terms of computational complexity for certain tasks, including machine learning.

Show full abstract

In this paper, we design, implement, and evaluate three hybrid quantum k-Means algorithms, exploiting different degree of parallelism. Indeed, each algorithm incrementally leverages quantum parallelism to reduce the complexity of the cluster assignment step up to a constant cost. In particular, we exploit quantum phenomena to speed up the computation of distances. The core idea is that the computation of distances between records and centroids can be executed simultaneously, thus saving time, especially for big datasets. We show that our hybrid quantum k-Means algorithms can be more efficient than the classical version, still obtaining comparable clustering results.

View on arXivView PDF

Code Implementations(1)

Qantum version of the Kmeans algorithm

91Jupyter Notebook, PythonDec 8, 20211 years ago

Similar Papers

Cite this paper

@article{poggiali2022quantum,
  title  = {Quantum Clustering with k-Means: a Hybrid Approach},
  author = {Alessandro Poggiali and Alessandro Berti and Anna Bernasconi and Gianna M. Del Corso and Riccardo Guidotti},
  year   = {2022},
  eprint = {2212.06691},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.06691}
}

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

Discussion