English

Quantum Sketches, Hashing, and Approximate Nearest Neighbors

Quantum Physics 2026-02-24 v1 Data Structures and Algorithms

Abstract

Motivated by Johnson--Lindenstrauss dimension reduction, amplitude encoding, and the view of measurements as hash-like primitives, one might hope to compress an nn-point approximate nearest neighbor (ANN) data structure into O(logn)O(\log n) qubits. We rule out this possibility in a broad quantum sketch model, the dataset PP is encoded as an mm-qubit state ρP\rho_P, and each query is answered by an arbitrary query-dependent measurement on a fresh copy of ρP\rho_P. For every approximation factor c1c\ge 1 and constant success probability p>1/2p>1/2, we exhibit nn-point instances in Hamming space {0,1}d\{0,1\}^d with d=Θ(logn)d=\Theta(\log n) for which any such sketch requires m=Ω(n)m=\Omega(n) qubits, via a reduction to quantum random access codes and Nayak's lower bound. These memory lower bounds coexist with potential quantum query-time gains and in candidate-scanning abstractions of hashing-based ANN, amplitude amplification yields a quadratic reduction in candidate checks, which is essentially optimal by Grover/BBBV-type bounds.

Keywords

Cite

@article{arxiv.2602.19259,
  title  = {Quantum Sketches, Hashing, and Approximate Nearest Neighbors},
  author = {Sajjad Hashemian},
  journal= {arXiv preprint arXiv:2602.19259},
  year   = {2026}
}

Comments

8 pages, 1 figure, submitted to journal of Information and Computation