Basic quantum subroutines: finding multiple marked elements and summing numbers

Open Access
Authors
Publication date 14-03-2024
Journal Quantum
Article number 1284
Volume | Issue number 8
Number of pages 29
Organisations
  • Faculty of Science (FNWI) - Korteweg-de Vries Institute for Mathematics (KdVI)
  • Interfacultary Research - Institute for Logic, Language and Computation (ILLC)
Abstract

We show how to find all k marked elements in a list of size N using the optimal number O(√Nk) 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 k overhead in the gate complexity, or had an extra factor log(k) in the query complexity. We then consider the problem of finding a multiplicative d-approximation of s =ΣNi=1viwhere v = (vi) ∈ [0, 1]N, given quantum query access to a binary description of v. We give an algorithm that does so, with probability at least 1 - ρ, using O(√N log(1/ρ)/δ) quantum queries (under mild assumptions on ρ). This quadratically improves the dependence on 1/δ and log(1/ρ) compared to a straightforward application of amplitude estimation. To obtain the improved log(1/ρ) dependence we use the first result.

Document type Article
Language English
Published at https://doi.org/10.22331/q-2024-03-14-1284 https://doi.org/10.48550/arXiv.2302.10244
Other links https://www.scopus.com/pages/publications/85189683580
Downloads
q-2024-03-14-1284 (Final published version)
Permalink to this page
Back