mlsanityData to 14 Oct 2026

Quantum (Inspired) D2-sampling with Applications

arXiv 2405.13351 ↗First posted 22 May 2024quant-ph cs.DScited by 1

Not on the map. Why?

Abstract (arXiv)

D2-sampling is a fundamental component of sampling-based clustering algorithms such as k-means++. Given a dataset V subset ℝd with N points and a center set C subset ℝd, D2-sampling refers to picking a point from V where the sampling probability of a point is proportional to its squared distance from the nearest center in C. Starting with empty C and iteratively D2-sampling and updating C in k rounds is precisely k-means++ seeding that runs in O(Nkd) time and gives O(logk)-approximation in expectation for the k-means problem. We give a quantum algorithm for (approximate) D2-sampling in the QRAM model that results in a quantum implementation of k-means++ that runs in time tildeO(zeta2 k2). Here zeta is the aspect ratio (i.e., largest to smallest interpoint distance), and tildeO hides polylogarithmic factors in N, d, k. It can be shown through a robust approximation analysis of k-means++ that the quantum version preserves its O(logk) approximation guarantee. Further, we show that our quantum algorithm for D2-sampling can be 'dequantized' using the sample-query access model of Tang (PhD Thesis, Ewin Tang, University of Washington, 2023). This results in a fast quantum-inspired classical implementation of k-means++, which we call QI-k-means++, with a running time O(Nd) + tildeO(zeta2k2d), where the O(Nd) term is for setting up the sample-query access data structure. Experimental investigations show promising results for QI-k-means++ on large datasets with bounded aspect ratio. Finally, we use our quantum D2-sampling with the known D2-sampling-based classical approximation scheme (i.e., (1+varepsilon)-approximation for any given varepsilon>0) to obtain the first quantum approximation scheme for the k-means problem with polylogarithmic running time dependence on N.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). First posted on arXiv 22 May 2024.

Builds on

No reference list yet.

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.