English

Quantum Inference on Bayesian Networks

Quantum Physics 2014-10-02 v1 Data Structures and Algorithms

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 ee of evidence variables. Classically, a single unbiased sample is obtained from a Bayesian network on nn variables with at most mm parents per node in time O(nmP(e)1)\mathcal{O}(nmP(e)^{-1}), depending critically on P(e)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 O(n2mP(e)12)\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.

Keywords

Cite

@article{arxiv.1402.7359,
  title  = {Quantum Inference on Bayesian Networks},
  author = {Guang Hao Low and Theodore J. Yoder and Isaac L. Chuang},
  journal= {arXiv preprint arXiv:1402.7359},
  year   = {2014}
}

Comments

8 pages, 3 figures. Submitted to PRX

R2 v1 2026-06-22T03:18:06.672Z