English

The quantum complexity of approximating the frequency moments

Quantum Physics 2016-08-05 v3 Data Structures and Algorithms

Abstract

The kk'th frequency moment of a sequence of integers is defined as Fk=jnjkF_k = \sum_j n_j^k, where njn_j is the number of times that jj occurs in the sequence. Here we study the quantum complexity of approximately computing the frequency moments in two settings. In the query complexity setting, we wish to minimise the number of queries to the input used to approximate FkF_k up to relative error ϵ\epsilon. We give quantum algorithms which outperform the best possible classical algorithms up to quadratically. In the multiple-pass streaming setting, we see the elements of the input one at a time, and seek to minimise the amount of storage space, or passes over the data, used to approximate FkF_k. We describe quantum algorithms for F0F_0, F2F_2 and FF_\infty in this model which substantially outperform the best possible classical algorithms in certain parameter regimes.

Keywords

Cite

@article{arxiv.1505.00113,
  title  = {The quantum complexity of approximating the frequency moments},
  author = {Ashley Montanaro},
  journal= {arXiv preprint arXiv:1505.00113},
  year   = {2016}
}

Comments

22 pages; v3: essentially published version

R2 v1 2026-06-22T09:26:29.116Z