Granular-Ball Quantum Clustering for Resource-Efficient and Robust Learning

Suzhen Yuan, Qilin Xie, Lifeng Shen, Shuyin Xia, Jermiah D. Deng, Guoying WangarXiv 2026

TL;DR

Quantum-kernel-based clustering offers a powerful way to uncover complex data patterns, but calculating quantum similarities for every pair of points scales quadratically ($O(n^2)$), creating a massive bottleneck for near-term quantum computers. This paper introduces Granular-Ball Quantum Clustering (GBQC), a framework that compresses raw data into compact "granular balls" using a PCA-guided strategy and filters out noise via a quantum cohesion mechanism. This approach slashes quantum circuit executions by roughly 80% while simultaneously boosting clustering accuracy and robustness over existing classical and quantum methods.

What Problem Does This Paper Address?

Unsupervised learning on complex, non-convex data distributions (like intertwined spirals or concentric rings) is notoriously difficult for traditional classical algorithms. Quantum clustering solves this by mapping classical data into an exponentially high-dimensional Hilbert space via quantum feature encoding, making non-linear structures linearly separable.

However, building a quantum kernel matrix requires calculating the quantum fidelity (similarity) between every single pair of data points, leading to a quadratic computational complexity of $O(n^2)$. In the current Noisy Intermediate-Scale Quantum (NISQ) era—where qubits are scarce and circuit depths are shallow—this scaling makes quantum clustering completely impractical for large datasets. Existing classical compression techniques either rely strictly on Euclidean metrics (failing to capture quantum correlations) or sacrifice structural accuracy for efficiency, leaving an unresolved efficiency-accuracy dilemma.

Methods

The authors propose Granular-Ball Quantum Clustering (GBQC), which tightly couples data compression with quantum feature learning across three main phases:

  1. PCA-guided Adaptive Granular-ball Generation (P-GBG): Instead of standard iterative 2-means splitting in Euclidean space, GBQC uses a parallel sampling strategy followed by a recursive PCA-based hyperplane splitting mechanism. By identifying a robust splitting direction orthogonal to the first principal eigenvector of the core samples, it minimizes intra-cluster dispersion and reduces the total number of granular balls by approximately 50% compared to prior granular methods.
  2. Quantum Feature Mapping & Kernel Construction: The centers of these compressed granular balls are mapped into quantum states using angle encoding on the Bloch sphere of qubits via rotation gates ($R_Y$). The similarity between these balls is then efficiently estimated using a Swap Test quantum circuit to build a compact $m \times m$ quantum kernel matrix (where the number of balls $m \ll n$).
  3. Quantum Cohesion for Robust Merging: To handle noise and outliers, the authors introduce a "quantum cohesion" metric that measures the average quantum similarity of a granular ball to its $k$-nearest neighbors. Balls with the lowest cohesion (the bottom 10%) are flagged as noise and temporarily excluded. Agglomerative hierarchical clustering is performed on the high-confidence core balls, and the noisy balls are later safely reassigned based on maximum quantum similarity.
Overview of the GBQC framework showing granular-ball generation, quantum feature mapping, and cohesion-based merging.

Datasets

The framework was evaluated on a comprehensive suite of datasets:

  • Synthetic Datasets: 16 distinct 2-D datasets representing complex geometries (spirals, concentric rings, multi-density clusters, and irregular shapes).
  • Noisy Datasets: 16 variants of the synthetic datasets injected with random global background noise to test robustness.
  • Overlapping Datasets: 4 synthetic datasets with significant boundary blurring and cluster adhesion.
  • Real-World Benchmarks: 5 datasets from the UCI Machine Learning Repository varying in scale and dimensionality: Iris (150 instances, 4D), Seeds (210 instances, 7D), Landsat (2000 instances, 2D), Segment (2310 instances, 3D), and Mushroom (8124 instances, 2D).

Key Insights and Ideas

  • Compression as a Feature Enhancer: Traditionally, data compression is seen as a trade-off where you sacrifice accuracy for speed. Here, granular-ball compression actually improves clustering quality. By eliminating redundant points and structurally ambiguous local partitions, it provides a cleaner, less noisy learning space for the quantum feature map.
  • Untangling in Hilbert Space: Sparsely compressing data can introduce physical overlap in low-dimensional Euclidean space. However, mapping these ball centers into the high-dimensional Hilbert space effectively "untangles" them, making intersecting regions linearly distinguishable.
  • The Power of PCA over 2-Means: Standard granular splitting relies on iterative 2-means, which is computationally heavy and assumes spherical distributions. Using PCA to split orthogonal to the direction of maximum variance allows the granular balls to naturally align with the data's intrinsic, elongated geometry.

Key Results

  • ~80% Reduction in Quantum Overhead: Across 16 synthetic datasets, GBQC reduced the average number of granular balls from 704 to 320 compared to classical granular baselines, dropping the required Swap Test executions from approximately 247,456 to 51,040.
  • Superior Accuracy: GBQC achieved an average Clustering Accuracy (ACC) of 0.976 and a Normalized Mutual Information (NMI) of 0.975 on synthetic datasets, significantly outperforming both classical methods (like K-Means and GBCT) and raw-sample quantum methods (like QKKM).
  • Noise Resilience: On the 16 noise-injected datasets, the cohesion-based filtering mechanism allowed GBQC to maintain an average ACC of 0.964, whereas removing the cohesion mechanism caused accuracy to drop to 0.884.
  • Real-World Edge: GBQC delivered substantial accuracy boosts on real-world datasets like Iris (0.953 ACC) and Mushroom (0.880 ACC) compared to classical granular computing (GBCT), which scored 0.660 and 0.576 respectively.

Limitations and Future Work

  • Simulated Environments: The quantum components of GBQC were validated using classical simulators (Qiskit Aer) rather than physical quantum processors. Real quantum hardware introduces physical device noise that wasn't fully captured in this study.
  • Fixed Feature Maps: The current approach uses a fixed angle-encoding scheme. The authors note that exploring trainable, parameterized quantum feature maps could further optimize data representations.
  • Future Directions: The authors plan to deploy GBQC on real NISQ-era quantum hardware and conduct deeper theoretical investigations into the mathematical relationship between data granulation and quantum feature representations.

Summary updated

BibTeX
@misc{yuan2026granular,
  author = {Suzhen Yuan and Qilin Xie and Lifeng Shen and Shuyin Xia and Jermiah D. Deng and Guoying Wang},
  title = {{Granular-Ball Quantum Clustering for Resource-Efficient and Robust Learning}},
  year = {2026},
  eprint = {2609.06016},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.06016},
}
Figure