English

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

Quantum Physics 2022-08-17 v1 Computational Complexity Data Structures and Algorithms Probability Statistics Theory Statistics Theory

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.

Keywords

Cite

@article{arxiv.2208.07544,
  title  = {Mean estimation when you have the source code; or, quantum Monte Carlo methods},
  author = {Robin Kothari and Ryan O'Donnell},
  journal= {arXiv preprint arXiv:2208.07544},
  year   = {2022}
}

Comments

38 pages; 17 figures

R2 v1 2026-06-25T01:43:52.020Z