Skip to main content
QUICK REVIEW

[Paper Review] Quantum Clustering with k-Means: a Hybrid Approach

Alessandro Poggiali, Alessandro Berti|arXiv (Cornell University)|Dec 13, 2022
Quantum Computing Algorithms and ArchitectureComputer Science5 citations
TL;DR

This paper proposes a hybrid quantum k-Means clustering approach using three progressively parallelized quantum circuits to accelerate the distance computation in cluster assignment. By leveraging quantum parallelism, the method reduces the complexity of distance computation to O(1) in the most advanced version, achieving clustering results comparable to classical k-Means, though current noisy quantum hardware limits practical performance.

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. 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.

Motivation & Objective

  • To design and implement hybrid quantum k-Means algorithms that accelerate the computationally expensive cluster assignment step using quantum parallelism.
  • To address the challenge of mapping classical data to quantum states while preserving cluster separability, especially under 2-norm normalization constraints.
  • To evaluate the performance and scalability of quantum k-Means variants on real and simulated quantum hardware, comparing them to classical baselines.
  • To investigate the impact of post-selection and circuit shots on result accuracy in near-term quantum devices.
  • To explore whether quantum speedup in distance computation translates to practical efficiency gains despite hardware noise and overhead.

Proposed method

  • Proposes three quantum k-Means variants: q1:1-k-Means (single distance per circuit), q1:k-k-Means (one record to all centroids), and qM:k-k-Means (all records to all centroids) using quantum parallelism.
  • Employs the Inverse Stereographic Projection (ISP) to map N-dimensional data onto the unit sphere in (N+1)-dimensional space, improving cluster separation under 2-norm normalization.
  • Uses a controlled-SWAP (Fredkin) gate and Hadamard gates to estimate Euclidean distances via quantum state fidelity, enabling superposition-based distance computation.
  • Executes quantum circuits using IBM’s Qiskit framework, with results measured via post-selection and repeated execution (shots) to improve statistical accuracy.
  • Compares quantum results with classical δ-k-means on synthetic and real datasets to assess clustering quality and convergence.
  • Empirically determines that shot count must scale linearly with the number of records and clusters to maintain accuracy, especially for higher-parallelism versions.

Experimental results

Research questions

  • RQ1Can quantum parallelism be effectively leveraged to reduce the computational complexity of the cluster assignment step in k-Means clustering?
  • RQ2How does the choice of data encoding (e.g., ISP vs. standard normalization) affect cluster separability and algorithm performance on quantum hardware?
  • RQ3To what extent do current noisy intermediate-scale quantum (NISQ) devices support the execution of multi-vector quantum circuits for clustering tasks?
  • RQ4Does the reduction in circuit complexity (from O(Mk) to O(1)) through quantum parallelism lead to measurable performance improvements over classical or less parallelized quantum versions?
  • RQ5What is the required number of circuit repetitions (shots) to achieve reliable clustering results, and how does this scale with problem size?

Key findings

  • The qM:k-k-Means variant achieves O(1) complexity per circuit execution by computing all inter-point-to-centroid distances in superposition, representing the highest degree of quantum parallelism.
  • All three quantum variants produce clustering results comparable to the classical δ-k-means baseline when the number of circuit shots scales linearly with the number of records and clusters.
  • The q1:1-k-Means version successfully identified correct clusters on real quantum hardware, though each circuit execution took approximately 6 seconds due to communication overhead.
  • The q1:k-k-Means version produced poor results on real hardware due to noise, indicating that current NISQ devices cannot reliably handle circuits with higher qubit entanglement and complexity.
  • Despite theoretical advantages, no significant speedup was observed in practice due to high shot requirements and hardware limitations, especially for the most parallelized version.
  • The study confirms that post-selection and shot count are critical factors in achieving accurate results, and that empirical tuning of shots is essential for reliable performance on current quantum devices.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.