Efficient Quantum Approximate kNN Algorithm via Granular-Ball Computing

Shuyin Xia, Xiaojiang Tian, Suzhen Yuan, Jeremiah D. Deng
5/29/2025
quant-phcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

High time complexity is one of the biggest challenges faced by $k$-Nearest Neighbors ($k$NN). Although current classical and quantum $k$NN algorithms have made some improvements, they still have a speed bottleneck when facing large amounts of data.

Show full abstract

To address this issue, we propose an innovative algorithm called Granular-Ball based Quantum $k$NN(GB-Q$k$NN). This approach achieves higher efficiency by first employing granular-balls, which reduces the data size needed to processed. The search process is then accelerated by adopting a Hierarchical Navigable Small World (HNSW) method. Moreover, we optimize the time-consuming steps, such as distance calculation, of the HNSW via quantization, further reducing the time complexity of the construct and search process. By combining the use of granular-balls and quantization of the HNSW method, our approach manages to take advantage of these treatments and significantly reduces the time complexity of the $k$NN-like algorithms, as revealed by a comprehensive complexity analysis.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xia2025efficient,
  title  = {Efficient Quantum Approximate kNN Algorithm via Granular-Ball Computing},
  author = {Shuyin Xia and Xiaojiang Tian and Suzhen Yuan and Jeremiah D. Deng},
  year   = {2025},
  eprint = {2505.23066},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.23066v1}
}

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

Discussion