Quantum Physics using Weighted Model Counting
Abstract
Weighted model counting (WMC) has proven effective at a range of tasks within computer science, physics, and beyond. However, existing approaches for using WMC in quantum physics only target specific problem instances, lacking a general framework for expressing problems using WMC. This limits the reusability of these approaches in other applications and risks a lack of mathematical rigor on a per-instance basis. We present an approach for expressing linear algebraic problems, specifically those present in physics and quantum computing, as WMC instances. We do this by introducing a framework that converts Dirac notation to WMC problems. We build up this framework theoretically, using a type system and denotational semantics, and provide an implementation in Python. We demonstrate the effectiveness of our framework in calculating the partition functions of several physical models: The transverse-field Ising model (quantum) and the Potts model (classical). The results suggest that heuristics developed in automated reasoning can be systematically applied to a wide class of problems in quantum physics through our framework.
Cite
@article{arxiv.2508.21288,
title = {Quantum Physics using Weighted Model Counting},
author = {Dirck van den Ende and Joon Hyung Lee and Alfons Laarman and Henning Basold},
journal= {arXiv preprint arXiv:2508.21288},
year = {2026}
}
Comments
v2: Revised related work and conclusion based on reviewer feedback; improved discussion of scope and limitations