English

Basic quantum subroutines: finding multiple marked elements and summing numbers

Quantum Physics 2024-03-14 v3 Data Structures and Algorithms

Abstract

We show how to find all kk marked elements in a list of size NN using the optimal number O(Nk)O(\sqrt{N k}) of quantum queries and only a polylogarithmic overhead in the gate complexity, in the setting where one has a small quantum memory. Previous algorithms either incurred a factor kk overhead in the gate complexity, or had an extra factor log(k)\log(k) in the query complexity. We then consider the problem of finding a multiplicative δ\delta-approximation of s=i=1Nvis = \sum_{i=1}^N v_i where v=(vi)[0,1]Nv=(v_i) \in [0,1]^N, given quantum query access to a binary description of vv. We give an algorithm that does so, with probability at least 1ρ1-\rho, using O(Nlog(1/ρ)/δ)O(\sqrt{N \log(1/\rho) / \delta}) quantum queries (under mild assumptions on ρ\rho). This quadratically improves the dependence on 1/δ1/\delta and log(1/ρ)\log(1/\rho) compared to a straightforward application of amplitude estimation. To obtain the improved log(1/ρ)\log(1/\rho) dependence we use the first result.

Keywords

Cite

@article{arxiv.2302.10244,
  title  = {Basic quantum subroutines: finding multiple marked elements and summing numbers},
  author = {Joran van Apeldoorn and Sander Gribling and Harold Nieuwboer},
  journal= {arXiv preprint arXiv:2302.10244},
  year   = {2024}
}

Comments

29 pages, accepted in Quantum