Papers
Topics
Authors
Recent
Search
2000 character limit reached

Semi-Quantum Restricted Boltzmann Machines

Updated 21 April 2026
  • Semi-Quantum Restricted Boltzmann Machines (sqRBMs) are hybrid generative models that use classical visible units and quantum hidden layers to boost modeling power.
  • They feature analytically tractable marginal probabilities and closed-form gradients, enabling efficient training via stochastic methods and quantum EM algorithms.
  • Empirical results show that sqRBMs achieve improved log-likelihood and competitive generalization with fewer parameters relative to classical RBMs.

A semi-quantum Restricted Boltzmann Machine (sqRBM) is a generative graphical model in which the visible layer remains a classical system while the hidden layer is fully quantum. This hybrid quantum-classical architecture preserves the bipartite structure and conditional independence of classical RBMs but enhances expressivity and modeling power through non-commuting quantum hidden units. Key features of sqRBMs include analytically tractable marginal probabilities, closed-form gradients for efficient training, and significant expressive advantages over their fully classical counterparts. This model class has been developed to enable quantum-inspired machine learning with practical, classically tractable training algorithms, and results indicate improved log-likelihood and compactness relative to classical RBMs of comparable parameter count (Lyakhova et al., 2020, Demidik et al., 24 Feb 2025, Kimura et al., 29 Jul 2025).

1. Model Architecture and Hamiltonian Definitions

The defining trait of sqRBMs is the strict classical/quantum separation:

  • Visible Layer: nn classical binary units vi∈{0,1}v_i\in\{0,1\} (or {±1}\{\pm1\} in some conventions).
  • Hidden Layer: mm quantum degrees of freedom — either fermionic modes (h^j,h^j+\hat h_j, \hat h_j^+) (Lyakhova et al., 2020) or qubits (spin-$1/2$; Pauli operators σjz,σjx\sigma^z_j,\sigma^x_j) (Demidik et al., 24 Feb 2025, Kimura et al., 29 Jul 2025).

The generic Hamiltonian takes the form: H^(v)=−∑i=1nbi vi  −  ∑j,j′cjj′ h^j+h^j′  −  ∑i=1n∑j,j′vi wijj′ h^j+h^j′\hat H(\mathbf v) = -\sum_{i=1}^n b_i\,v_i \;-\; \sum_{j,j'} c_{j j'}\,\hat h_j^+\hat h_{j'} \;-\; \sum_{i=1}^n\sum_{j,j'} v_i\,w_{i j j'}\,\hat h_j^+\hat h_{j'} where:

  • bib_i are visible biases,
  • cjj′c_{jj'} is the hidden bias matrix,
  • vi∈{0,1}v_i\in\{0,1\}0 represents classical-to-quantum couplings.

In Pauli-based sqRBMs, the Hamiltonian is

vi∈{0,1}v_i\in\{0,1\}1

with vi∈{0,1}v_i\in\{0,1\}2 parametrizing transverse fields and vi∈{0,1}v_i\in\{0,1\}3 coupling visible and hidden layers (Kimura et al., 29 Jul 2025).

The key constraint in all constructions is that the visible subspace remains classical: all non-commutativity and quantum correlations are localized within the hidden layer.

2. Gibbs States, Probability Measures, and Partition Functions

The joint system is modeled as a (classical) probability over visible configurations, with each visible string vi∈{0,1}v_i\in\{0,1\}4 defining a conditional quantum Hamiltonian over the hidden subspace. The canonical (inverse temperature vi∈{0,1}v_i\in\{0,1\}5) state is the quantum Gibbs state: vi∈{0,1}v_i\in\{0,1\}6 with global partition function

vi∈{0,1}v_i\in\{0,1\}7

The marginal probability for vi∈{0,1}v_i\in\{0,1\}8 is: vi∈{0,1}v_i\in\{0,1\}9 with "visible-fixed" partition function {±1}\{\pm1\}0.

For fermionic hidden layers, {±1}\{\pm1\}1 admits a closed form: {±1}\{\pm1\}2 where {±1}\{\pm1\}3 (Lyakhova et al., 2020). In Pauli-based models, each hidden qubit {±1}\{\pm1\}4 experiences an effective field {±1}\{\pm1\}5, leading to the marginal

{±1}\{\pm1\}6

with normalization over all visible strings (Demidik et al., 24 Feb 2025).

3. Training: Closed-Form Gradients and Information-Geometric EM

Trainability is a core advantage of sqRBMs. The log-likelihood {±1}\{\pm1\}7 admits an exact, efficiently computable gradient with respect to all model parameters due to the block-diagonal (clamped) structure in the visible basis. The gradient with respect to couplings {±1}\{\pm1\}8 is: {±1}\{\pm1\}9

For Pauli-based sqRBMs, gradients w.r.t. any parameter mm0 are: mm1 with means either over data (positive phase) or the model (negative phase), and operator expectations computed analytically for each visible input.

The semi-quantum structure allows for application of an information-geometric quantum EM algorithm, in which the E-step amounts to clamping visible marginals, and the M-step optimizes over the exponential family of quantum Gibbs states. These steps yield strictly convex updates and robust convergence profiles (Kimura et al., 29 Jul 2025).

4. Expressive Power and Relationship to Classical RBMs

A well-defined equivalence theorem relates the representational capacity of sqRBMs and classical RBMs. For mm2 hidden qubits in the sqRBM—each with mm3 non-commuting Pauli operators—the expressive equivalence is: mm4 where mm5 (number of Pauli observables per hidden) quantifies expressive gain. For mm6 (mm7), an sqRBM with mm8 hidden qubits can match the output distributions of a classical RBM with mm9 hidden units, given equal parameter counts (Demidik et al., 24 Feb 2025).

Closed-form expressions for h^j,h^j+\hat h_j, \hat h_j^+0 in both cases reveal that each quantum hidden unit in the sqRBM contributes at least as much modeling power as multiple classical ones, via factors such as h^j,h^j+\hat h_j, \hat h_j^+1. This effect persists over a variety of synthetic datasets, and empirical tests confirm the predicted reduction in necessary hidden units for a given generative complexity.

5. Algorithms, Computational Complexity, and Practical Training

Training sqRBMs by stochastic methods—contrastive divergence (CD-k), persistent contrastive divergence (PCD)—is tractable because each update can be computed by diagonalizing an h^j,h^j+\hat h_j, \hat h_j^+2 matrix. The main computational steps per gradient calculation are:

  • Diagonalization: h^j,h^j+\hat h_j, \hat h_j^+3
  • Reconstructing quantum single-particle densities: h^j,h^j+\hat h_j, \hat h_j^+4
  • Projecting onto h^j,h^j+\hat h_j, \hat h_j^+5 visible units: h^j,h^j+\hat h_j, \hat h_j^+6
  • Total per persistence chain: h^j,h^j+\hat h_j, \hat h_j^+7

Pseudocode for block-Gibbs or PCD training alternates between visible and quantum hidden updates, with quantum moments computed analytically (Lyakhova et al., 2020).

The quantum EM method for sqRBMs involves (1) constructing the conditional clamped hidden state for each data point (E-step) and (2) minimizing the strictly convex model free energy w.r.t. parameters (M-step), leveraging closed-form expressions for all required traces and expectations (Kimura et al., 29 Jul 2025).

6. Empirical Results and Comparative Analysis

Evaluation across benchmark datasets—including Bars & Stripes, Optdigits, uniform random subsets, Hamming weight-constraint (Cardinality), and Parity—demonstrates that sqRBMs consistently outperform classical RBMs of the same hidden dimension in both speed of convergence and ultimate log-likelihood, often matching the performance of larger classical RBMs with up to h^j,h^j+\hat h_j, \hat h_j^+8-fold more hidden units for the same total parameter count (Lyakhova et al., 2020, Demidik et al., 24 Feb 2025). Overfitting tests indicate that generalization properties are comparable or slightly superior to classical RBMs.

The systematic modeling gain is attributed to enhanced hidden correlation structure, mediated by off-diagonal quantum coherences (h^j,h^j+\hat h_j, \hat h_j^+9 or non-commuting Pauli traces), allowing compact encoding of higher-order dependencies in the visible data.

7. Limitations, Open Directions, and Theoretical Considerations

Several open questions and practical limitations persist:

  • Scalability: Each parameter update scales as $1/2$0 (for diagonalization), limiting applicability to large $1/2$1. Large-scale real-world applications and extensions to continuous or high-dimensional data remain untested (Lyakhova et al., 2020).
  • Quantum Interactions: Current sqRBM constructions restrict the hidden layer to non-interacting fermionic or decoupled Pauli-spin modes. The potential benefits of adding intra-hidden quantum interactions or considering bosonic modes are undetermined.
  • Quantum Hardware Implementation: While algorithms are trainable on classical machines, experiments on physical quantum devices could test whether the same expressive and training benefits carry over beyond classical simulation (Lyakhova et al., 2020).
  • Theoretical Understanding: The conditions under which quantum coherences in the hidden layer yield a strict advantage over classical RBMs, and whether further quantum generalizations give even greater expressive power, remain subjects for further theoretical study (2002.17562).

Overall, the semi-quantum RBM architecture bridges classical machine learning, quantum statistical mechanics, and information geometry, resulting in models that are both efficiently optimizable and strictly more expressive than their classical analogues for generative modeling tasks.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Semi-Quantum Restricted Boltzmann Machines (sqRBM).