Article,
Basic quantum subroutines: finding multiple marked elements and summing numbers
Affiliations
- [1] University of Amsterdam [NORA names: Netherlands; Europe, EU; OECD];
- [2] Tilburg University [NORA names: Netherlands; Europe, EU; OECD];
- [3] Ruhr University Bochum [NORA names: Germany; Europe, EU; OECD];
- [4] University of Copenhagen [NORA names: KU University of Copenhagen; University; Denmark; Europe, EU; Nordic; OECD]
Abstract
We show how to find all marked elements in a list of size using the optimal number 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 overhead in the gate complexity, or had an extra factor in the query complexity.We then consider the problem of finding a multiplicative -approximation of where , given quantum query access to a binary description of . We give an algorithm that does so, with probability at least , using quantum queries (under mild assumptions on ). This quadratically improves the dependence on and compared to a straightforward application of amplitude estimation. To obtain the improved dependence we use the first result.