14
18

Mean estimation when you have the source code; or, quantum Monte Carlo methods

Abstract

Suppose y\boldsymbol{y} is a real random variable, and one is given access to ``the code'' that generates it (for example, a randomized or quantum circuit whose output is y\boldsymbol{y}). We give a quantum procedure that runs the code O(n)O(n) times and returns an estimate μ^\widehat{\boldsymbol{\mu}} for μ=E[y]\mu = \mathrm{E}[\boldsymbol{y}] that with high probability satisfies μ^μσ/n|\widehat{\boldsymbol{\mu}} - \mu| \leq \sigma/n, where σ=stddev[y]\sigma = \mathrm{stddev}[\boldsymbol{y}]. This dependence on nn is optimal for quantum algorithms. One may compare with classical algorithms, which can only achieve the quadratically worse μ^μσ/n|\widehat{\boldsymbol{\mu}} - \mu| \leq \sigma/\sqrt{n}. Our method improves upon previous works, which either made additional assumptions about y\boldsymbol{y}, and/or assumed the algorithm knew an a priori bound on σ\sigma, and/or used additional logarithmic factors beyond O(n)O(n). The central subroutine for our result is essentially Grover's algorithm but with complex phases.ally Grover's algorithm but with complex phases.

View on arXiv
Comments on this paper