Skip to main content
QUICK REVIEW

[Paper Review] K-Means Clustering on Noisy Intermediate Scale Quantum Computers

Sumsam Ullah Khan, Ahsan Javed Awan|arXiv (Cornell University)|Sep 26, 2019
Quantum Computing Algorithms and ArchitectureComputer Science13 references26 citations
TL;DR

This paper proposes three optimized quantum circuit strategies—quantum interference, negative rotations, and destructive interference—for implementing K-means clustering on noisy intermediate-scale quantum (NISQ) computers. By minimizing circuit depth, the methods achieve classical-level clustering accuracy on IBMQX2, with 98.3% accuracy on MNIST and 83.4% on Iris using shallow circuits.

ABSTRACT

Real-time clustering of big performance data generated by the telecommunication networks requires domain-specific high performance compute infrastructure to detect anomalies. In this paper, we evaluate noisy intermediate-scale quantum (NISQ) computers characterized by low decoherence times, for K-means clustering and propose three strategies to generate shorter-depth quantum circuits needed to overcome the limitation of NISQ computers. The strategies are based on exploiting; i) quantum interference, ii) negative rotations and iii) destructive interference. By comparing our implementations on IBMQX2 machine for representative data sets, we show that NISQ computers can solve the K-means clustering problem with the same level of accuracy as that of classical computers.

Motivation & Objective

  • Address the challenge of executing K-means clustering on NISQ quantum computers with limited qubit coherence and high gate error rates.
  • Overcome the limitation of deep quantum circuits by designing shallow-depth implementations suitable for current noisy hardware.
  • Achieve clustering accuracy comparable to classical K-means while minimizing quantum gate count and circuit depth.
  • Evaluate and compare multiple quantum circuit optimization strategies tailored for real-world NISQ hardware constraints.

Proposed method

  • Utilize quantum interference to prepare entangled states where the relative angle between input vectors is preserved in the final state, reducing gate count.
  • Implement 'negative rotations' to map cosine similarity between normalized vectors directly onto the probability amplitude of the |0⟩ state, enabling similarity-based clustering.
  • Leverage destructive interference to compute actual Euclidean distances between vectors by measuring the probability of specific computational basis states.
  • Design depth-optimized circuits using amplitude encoding, where N-dimensional vectors are encoded in log N qubits, enabling exponential scaling advantages.
  • Implement and benchmark all strategies on the IBMQX2 quantum processor using Qiskit to measure circuit depth and measurement fidelity.
  • Compare results across datasets (Iris, MNIST) and methods, using classical scikit-learn K-means as a performance baseline.

Experimental results

Research questions

  • RQ1Can shallow-depth quantum circuits be designed to perform K-means clustering with accuracy matching classical implementations on NISQ hardware?
  • RQ2How do quantum interference, negative rotations, and destructive interference compare in terms of circuit depth and clustering accuracy on real quantum devices?
  • RQ3To what extent are these quantum strategies limited by vector magnitude vs. angular similarity, and can this be mitigated?
  • RQ4What is the impact of circuit depth on measurement success rates and clustering accuracy in noisy quantum environments?
  • RQ5Can quantum K-means achieve comparable performance to classical K-means using only a fraction of the quantum resources through optimization?

Key findings

  • The negative rotations method achieved 100% accuracy on the Iris dataset (K=2) and 98.3% on MNIST (K=4) with a circuit depth of only 2, demonstrating high fidelity and robustness.
  • The destructive interference-based distance calculation achieved 83.4% accuracy on the Iris dataset and 98.3% on MNIST, with a circuit depth of 14, showing strong performance on non-angle-based datasets.
  • The optimized interference circuit reduced depth from 37 to 25 gates, improving success rates significantly over the basic implementation, which had only 54.0% accuracy on Iris.
  • The basic implementation suffered from high error rates due to deep circuits, while all optimized versions showed substantial improvement, with negative rotations achieving the shallowest depth and best accuracy.
  • The method based on destructive interference is not limited to angle-based similarity, unlike interference and negative rotations, making it more general for diverse datasets.
  • The results confirm that quantum K-means can match classical performance on real NISQ hardware when circuit depth is minimized using tailored quantum strategies.

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.