Expressive equivalence of classical and quantum restricted Boltzmann machines
Maria Demidik, Cenk Tüysüz, Nico Piatkowski, Michele Grossi, Karl Jansen
TL;DR
This work introduces semi-quantum restricted Boltzmann machines (sqRBMs) as an intermediate model between classical RBMs and quantum RBMs, designed for efficient gradient computation on classical data. By making the visible-subspace Hamiltonian commuting while allowing non-commuting terms on hidden units, sqRBMs enable closed-form output probabilities and gradients, mitigating the gradient-cost issues of generic QRBMs. The authors prove expressive equivalence between sqRBMs and RBMs, showing $\mathrm{sqRBM}_{n,m} \equiv \mathrm{RBM}_{n,|\mathcal{W}_{\rm h}|\cdot m}$, implying RBMs require about $3$ times as many hidden units as sqRBMs for the same distribution, with the same total parameter count. Numerical experiments up to 100 units corroborate the theory, demonstrating competitive learning with reduced quantum-resource requirements and suggesting near-term practicality for quantum-assisted generative modeling. Overall, sqRBMs offer a concrete route to leverage quantum hardware for probabilistic modeling while curbing resource demands.
Abstract
Quantum computers offer the potential for efficiently sampling from complex probability distributions, attracting increasing interest in generative modeling within quantum machine learning. This surge in interest has driven the development of numerous generative quantum models, yet their trainability and scalability remain significant challenges. A notable example is a quantum restricted Boltzmann machine (QRBM), which is based on the Gibbs state of a parameterized non-commuting Hamiltonian. While QRBMs are expressive, their non-commuting Hamiltonians make gradient evaluation computationally demanding, even on fault-tolerant quantum computers. In this work, we propose a semi-quantum restricted Boltzmann machine (sqRBM), a model designed for classical data that mitigates the challenges associated with previous QRBM proposals. The sqRBM Hamiltonian is commuting in the visible subspace while remaining non-commuting in the hidden subspace. This structure allows us to derive closed-form expressions for both output probabilities and gradients. Leveraging these analytical results, we demonstrate that sqRBMs share a close relationship with classical restricted Boltzmann machines (RBM). Our theoretical analysis predicts that, to learn a given probability distribution, an RBM requires three times as many hidden units as an sqRBM, while both models have the same total number of parameters. We validate these findings through numerical simulations involving up to 100 units. Our results suggest that sqRBMs could enable practical quantum machine learning applications in the near future by significantly reducing quantum resource requirements.
