Abstract
We introduce theoretically grounded Continuous Semi-Quantum Boltzmann Machines (CSQBMs) that support continuous-action reinforcement learning. By combining exponential-family priors over visible units with quantum Boltzmann distributions over hidden units, CSQBMs yield a hybrid quantum-classical model that reduces qubit requirements while retaining strong expressiveness. Crucially, gradients with respect to continuous variables can be computed analytically, enabling direct integration into Actor-Critic algorithms. Building on this, we propose a continuous Q-learning framework that replaces global maximization with efficient sampling from the CSQBM distribution, thereby overcoming instability issues in continuous control.
Introduction
Reinforcement Learning (RL) is a powerful paradigm for automated control, yet it remains notoriously data-hungry. This sample inefficiency is a major hurdle for high-stakes physical systems, such as the particle accelerators at CERN, where experimental time is limited and costly. While off-policy methods like Q-learning are generally more sample-efficient, they struggle with continuous action spaces. Finding the optimal action requires maximizing a non-linear Q-function—an optimization problem that is often intractable or numerically unstable in high-dimensional continuous spaces.
Previous attempts to leverage Quantum Boltzmann Machines (QBMs) for these tasks often relied on discretizing continuous values into binary qubits. This approach is not only resource-heavy but also mathematically unsound, frequently leading to training instability. This paper introduces Continuous Semi-Quantum Boltzmann Machines (CSQBMs), a hybrid framework designed to handle continuous variables natively while leveraging quantum-assisted sampling to bypass the difficulties of global optimization.
The Continuous Semi-Quantum Boltzmann Machine
The CSQBM is defined by its hybrid structure, which balances classical representational needs with quantum computational advantages.
- Semi-Quantum Architecture: The model maintains "visible" units (representing states $s$ and actions $a$) as classical variables, while "hidden" units (capturing complex correlations) are represented as qubits. This significantly reduces the total qubit count compared to fully quantum models, making it more suitable for Near-Intermediate Scale Quantum (NISQ) hardware.
- Continuous Visible Units: Instead of binary bits, visible units are modeled using exponential-family priors (e.g., Gaussian distributions). This allows the model to process real-valued sensor data and control signals without lossy discretization.
Optimization as Sampling
The core innovation of this framework is reframing the "max" operator in Q-learning. In continuous spaces, finding a global maximum is difficult. However, if the Q-function is interpreted as the energy of a Boltzmann distribution, the "best" actions are simply the most likely samples from that distribution.
By sampling from the CSQBM, the agent can efficiently identify high-quality actions without an exhaustive global search. Quantum hardware is uniquely suited for this task, as it can naturally produce samples from complex thermal equilibrium states (Gibbs states).
Theoretical Foundations
The paper provides two critical mathematical proofs that enable the practical use of CSQBMs in RL:
- Theorem 1 (Analytic Gradients): The authors establish that the gradients of the model’s Free Energy can be computed analytically. This allows CSQBMs to be integrated directly into standard gradient-based RL algorithms, such as Actor-Critic, without relying on noisy finite-difference approximations.
- Theorem 2 (Consistency): It is proven that the marginal distribution of the visible units remains within the exponential family when conditioned on a hidden quantum state, ensuring that the sampling process is mathematically consistent.
Conclusion and Future Work
CSQBMs offer a theoretically sound path toward sample-efficient RL in continuous domains by combining classical flexibility with quantum sampling power. While the model reduces qubit requirements, challenges remain regarding the efficient preparation of Gibbs states on current quantum hardware. The authors intend to validate this framework empirically by applying it to real-world particle beam line control systems at CERN, where sample efficiency is paramount.
Summary updated