Neural Quantum States in Mixed Precision
Massimo Solinas, Agnes Valenti, Nawaf Bou-Rabee, Roeland Wiersema
TL;DR
This work tackles the computational bottleneck of sampling in neural-quantum-state variational Monte Carlo by leveraging mixed-precision arithmetic. It develops a rigorous framework that models finite-precision effects as log-density perturbations and derives bounds on the resulting asymptotic bias of MH sampling, with tighter results when the underlying chain mixes rapidly. The authors introduce a mixed-precision VMC workflow that performs sampling in low precision while keeping core computations in high precision, and validate it through toy and realistic quantum models, achieving up to $\$3.5\times$ speedups without sacrificing accuracy in ground-state estimates. These results provide a principled pathway to energy-efficient, scalable MCMC-driven simulations in quantum many-body problems and related machine-learning approaches, with broader applicability to Bayesian learning and energy-based models.
Abstract
Scientific computing has long relied on double precision (64-bit floating point) arithmetic to guarantee accuracy in simulations of real-world phenomena. However, the growing availability of hardware accelerators such as Graphics Processing Units (GPUs) has made low-precision formats attractive due to their superior performance, reduced memory footprint, and improved energy efficiency. In this work, we investigate the role of mixed-precision arithmetic in neural-network based Variational Monte Carlo (VMC), a widely used method for solving computationally otherwise intractable quantum many-body systems. We first derive general analytical bounds on the error introduced by reduced precision on Metropolis-Hastings MCMC, and then empirically validate these bounds on the use-case of VMC. We demonstrate that significant portions of the algorithm, in particular, sampling the quantum state, can be executed in half precision without loss of accuracy. More broadly, this work provides a theoretical framework to assess the applicability of mixed-precision arithmetic in machine-learning approaches that rely on MCMC sampling. In the context of VMC, we additionally demonstrate the practical effectiveness of mixed-precision strategies, enabling more scalable and energy-efficient simulations of quantum many-body systems.
