English

Quantum Speedup for Sampling Random Spanning Trees

Quantum Physics 2025-04-25 v2 Data Structures and Algorithms

Abstract

We present a quantum algorithm for sampling random spanning trees from a weighted graph in O~(mn)\widetilde{O}(\sqrt{mn}) time, where nn and mm denote the number of vertices and edges, respectively. Our algorithm has sublinear runtime for dense graphs and achieves a quantum speedup over the best-known classical algorithm, which runs in O~(m)\widetilde{O}(m) time. The approach carefully combines, on one hand, a classical method based on ``large-step'' random walks for reduced mixing time and, on the other hand, quantum algorithmic techniques, including quantum graph sparsification and a sampling-without-replacement variant of Hamoudi's multiple-state preparation. We also establish a matching lower bound, proving the optimality of our algorithm up to polylogarithmic factors. These results highlight the potential of quantum computing in accelerating fundamental graph sampling problems.

Keywords

Cite

@article{arxiv.2504.15603,
  title  = {Quantum Speedup for Sampling Random Spanning Trees},
  author = {Simon Apers and Minbo Gao and Zhengfeng Ji and Chenghua Liu},
  journal= {arXiv preprint arXiv:2504.15603},
  year   = {2025}
}
R2 v1 2026-06-28T23:06:43.940Z