Quantum Sketches, Hashing, and Approximate Nearest Neighbors
Abstract
Motivated by Johnson--Lindenstrauss dimension reduction, amplitude encoding, and the view of measurements as hash-like primitives, one might hope to compress an -point approximate nearest neighbor (ANN) data structure into qubits. We rule out this possibility in a broad quantum sketch model, the dataset is encoded as an -qubit state , and each query is answered by an arbitrary query-dependent measurement on a fresh copy of . For every approximation factor and constant success probability , we exhibit -point instances in Hamming space with for which any such sketch requires 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