arXiv · 1402.7359
Quantum Inference on Bayesian Networks
Abstract
Performing exact inference on Bayesian networks is known to be #P-hard. Typically approximate inference techniques are used instead to sample from the distribution on query variables given the values $e$ of evidence variables. Classically, a single unbiased sample is obtained from a Bayesian network on $n$ variables with at most $m$ parents per node in time $\mathcal{O}(nmP(e)^{-1})$, depending critically on $P(e)$, the probability the evidence might occur in the first place. By implementing a quantum version of rejection sampling, we obtain a square-root speedup, taking $\mathcal{O}(n2^mP(e)^{-\frac12})$ time per sample. We exploit the Bayesian network's graph structure to efficiently construct a quantum state, a q-sample, representing the intended classical distribution, and also to efficiently apply amplitude amplification, the source of our speedup. Thus, our speedup is notable as it is unrelativized -- we count primitive operations and require no blackbox oracle queries.
Explore related subjects
Keep this discovery
Guang Hao Low, Theodore J. Yoder, Isaac L. Chuang. 2014-02-28. Quantum Inference on Bayesian Networks. https://doi.org/10.1103/physreva.89.062315
Cite the original work for its findings. Save a collection to share your selection of sources.