Abstract: Quantum Boltzmann machines are natural quantum generalizations of Boltzmann machines that are expected to be more expressive than their classical counterparts, as evidenced both numerically for small systems and asymptotically under various complexity theoretic assumptions. However, training quantum Boltzmann machines using gradient-based methods requires sampling observables in quantum thermal distributions, a problem that is NP-hard. In this work, we find that the locality of the gradient observables gives rise to an efficient sampling method based on the Eigenstate Thermalization Hypothesis, and thus through Hamiltonian simulation an efficient method for training quantum Boltzmann machines on near-term quantum devices. Furthermore, under realistic assumptions on the moments of the data distribution to be modeled, the distribution sampled using our algorithm is approximately the same as that of an ideal quantum Boltzmann machine. We demonstrate numerically that under the proposed training scheme, quantum Boltzmann machines capture multimodal Bernoulli distributions better than classical restricted Boltzmann machines with the same connectivity structure. We also provide numerical results on the robustness of our training scheme with respect to noise.
Introduction
Boltzmann Machines (BMs) are a cornerstone of generative modeling, capable of learning complex probability distributions from data. However, classical BMs are often limited in their expressiveness. Quantum Boltzmann Machines (QBMs) have emerged as a promising alternative, leveraging quantum mechanical effects like superposition and entanglement to represent correlations that are difficult or impossible for classical models to capture.
Despite their potential, training QBMs presents a significant computational hurdle. Standard gradient-based training requires calculating the difference between the data distribution and the model's internal thermal distribution. This "negative phase" involves sampling from a quantum thermal state ($e^{-\beta H}$), a task that is NP-hard for classical computers and remains a major challenge for current quantum hardware. Existing approaches, such as quantum annealing or variational state preparation, often struggle with noise and high qubit overhead.
The ETH-Based Training Framework
This research introduces a novel heuristic to bypass the difficulties of thermal state preparation by utilizing the Eigenstate Thermalization Hypothesis (ETH). The core idea is that for certain chaotic quantum systems, a pure state can locally mimic a thermal state after undergoing a quantum quench (time evolution).
Quantum Quench as a Thermalization Mechanism
Instead of attempting to prepare a complex mixed thermal state, the authors propose starting with a simple initial state, such as $|+\rangle^{\otimes n}$, and allowing it to evolve naturally under the QBM's Hamiltonian. According to ETH, the local observables of this evolved pure state will eventually converge to their thermal averages. Since the gradients required for training QBMs typically depend only on local 1- and 2-body operators, this "local thermalization" is sufficient for the optimization process.
The "Thermometer" Subsystem
A critical challenge in using quenched states for training is that the effective temperature ($\beta$) of the system is not known a priori. To address this, the authors implement a "thermometer" system—a small, well-characterized ancilla subsystem coupled to the QBM. By measuring the energy of this thermometer, the researchers can estimate the effective temperature of the entire model, enabling accurate gradient updates.
Optimization Strategy
The training process utilizes the Adam optimizer to minimize an upper bound of the negative log-likelihood. This approach integrates seamlessly with standard machine learning workflows, making it practical for implementation on near-term quantum devices.
Architecture and Connectivity
The performance of Boltzmann machines is heavily influenced by their connectivity. Figure 1 illustrates the different architectures considered in this study, ranging from fully connected models to restricted versions.
While classical RBMs (Figure 1b) are popular due to their simpler training, QBMs can utilize more complex structures, such as the semi-restricted model (Figure 1c), to enhance expressiveness. The authors found that while semi-restricted QBMs offer greater representational power, the choice of architecture should be balanced against parameter count and dataset complexity.
Experimental Evaluation
The proposed method was evaluated using synthetic datasets, specifically Multimodal Bernoulli Mixture Models. These datasets are designed to test a model's ability to capture complex probability landscapes with multiple peaks (modes). The experiments covered systems with 2 to 8 visible units.
Key Findings
- Performance Parity: The ETH-based training scheme achieved results nearly identical to an "Exact QBM" oracle that has perfect access to quantum thermal states. This validates the effectiveness of the ETH heuristic for local sampling.
- Quantum Advantage: QBMs consistently outperformed classical RBMs with identical connectivity, achieving lower Kullback-Leibler (KL) divergence. This suggests that quantum correlations indeed provide a boost in generative modeling capabilities.
- Robustness to Noise: Numerical simulations demonstrated that the training scheme is resilient to noise. The model maintained high performance even under finite coherence times ($T_1$ and $T_\phi$) typical of modern neutral atom quantum simulators.
Conclusion and Future Directions
The use of Eigenstate Thermalization provides a viable path for training Quantum Boltzmann Machines on NISQ-era hardware. By replacing difficult thermal state preparation with natural Hamiltonian simulation, this method significantly reduces the resource requirements for quantum generative modeling.
Future work may address the limitations of local sampling, particularly for datasets requiring the capture of global many-body correlations. Additionally, exploring alternative loss functions, such as relative entropy training, could further improve the optimization of models where the current upper bound is loose. The "thermometer" technique also holds promise for other variational quantum algorithms, potentially serving as a fast proxy for energy evaluations in systems like the Variational Quantum Eigensolver (VQE).
Summary updated