Quantum Circuits for the Metropolis-Hastings Algorithm
Baptiste Claudon, Pablo Rodenas-Ruiz, Jean-Philip Piquemal, Pierre Monmarché
TL;DR
The paper tackles speeding Metropolis-Hastings simulations on quantum hardware by grafting Szegedy's quantum walk onto a dual MH kernel that operates on edges rather than states. It develops explicit projected-unitary encodings and circuits that realize the dual proposal and acceptance steps with a constant ancilla footprint, avoiding heavy reversible-computation overhead. A key theoretical result is that the qubitized walk exhibits a spectral- (angular-) gap of $\Omega\big(\sqrt{\delta}\big)$, preserving the quadratic speedup in end-to-end MH sampling; in the Glauber case the gap matches the classical one, and for general acceptance matrices a $\delta/2$ bound holds with a lazy MH adjustment to ensure ergodicity. The authors demonstrate the construction on Metropolis-Adjusted Langevin dynamics (MALA) with a scalable 4m+3 qubit circuit and provide open-source code, highlighting practical feasibility on near-term fault-tolerant devices.
Abstract
Szegedy's quantization of a reversible Markov chain provides a quantum walk whose mixing time is quadratically smaller than that of the classical walk. Quantum computers are therefore expected to provide a speedup of Metropolis-Hastings (MH) simulations. Existing generic methods to implement the quantum walk require coherently computing the acceptance probabilities of the underlying Markov kernel. However, reversible computing methods require a number of qubits that scales with the complexity of the computation. This overhead is undesirable in near-term fault-tolerant quantum computing, where few logical qubits are available. In this work, we present a quantum walk construction which follows the classical proposal-acceptance logic, does not require further reversible computing methods, and uses a constant-sized ancilla register. Since each step of the quantum walk uses a constant number of proposition and acceptance steps, we expect the end-to-end quadratic speedup to hold for MH Markov Chain Monte-Carlo simulations.
