Learning Density Operator Latent Variable Models via Quantum Information Projection

Adit Vishnu, Abhay Shastry, Dhruva Kashyap, Chiranjib BhattacharyyaNeurIPS 2026

TL;DR

Quantum machine learning has long struggled to train latent variable models because quantum mechanics lacks a clean, well-defined equivalent of conditional probability—breaking the classic Expectation-Maximization (EM) algorithm. This paper sidesteps the conditional probability roadblock entirely using quantum information geometry, introducing a mathematically rigorous Density Operator EM (DO-EM) algorithm. By specializing these models for classical data, the authors scale quantum-inspired generative models from tiny 12-bit toy problems up to standard image benchmarks like CelebA, outperforming classical counterparts on the exact same compute budget.

What Problem Does This Paper Address?

In classical machine learning, Latent Variable Models (LVMs)—models that infer hidden structure from observed data—are foundational, and the Expectation-Maximization (EM) algorithm is the standard workhorse for training them.

Quantum machine learning generalizes probability distributions into density operators (positive semi-definite, unit-trace matrices that capture quantum states and correlations). Naturally, researchers want to build Density Operator LVMs (DO-LVMs), like Quantum Boltzmann Machines, to see if quantum representations can model richer data structures.

Here is the catch: matrices don't always commute ($AB \neq BA$). Because of non-commutativity, there is no valid, universal definition of "conditional probability" for density operators, which completely blocks the classical derivation of the EM algorithm. Furthermore, marginalizing out hidden variables in quantum mechanics requires an operation called the partial trace, which makes computing direct log-likelihood gradients mathematically unwieldy and computationally brutal. Because of these bottlenecks, DO-LVMs with hidden units have historically hit a wall at toy datasets of around 12 visible bits.

Methods

Instead of trying to invent a flawed quantum Bayes' rule, the authors rebuild EM from the ground up using quantum information theory:

  • Quantum ELBO & Information Projection (QIP): Classical EM relies on maximizing the Evidence Lower Bound (ELBO). Rather than using conditional probability, the authors derive a Quantum ELBO using the data processing inequality (which states that quantum relative entropy shrinks when you trace out a subsystem). Tightening this bound becomes a convex optimization problem they call Quantum Information Projection (QIP)—finding the joint density operator closest to your current model that still matches your observed data.
  • Density Operator EM (DO-EM): QIP serves as the E-step, cleanly sidestepping conditional probabilities. Because QIP yields a full joint state, the M-step maximizes an expression without the dreaded partial trace inside the logarithm, allowing for much simpler gradient calculations.
  • V-Locality: Analyzing general quantum Hamiltonians (energy functions) is intractable, while Quantum Markov Random Fields are too strict (forbidding quantum non-commutativity everywhere). The authors introduce V-locality, a middle-ground structural condition that enforces commutativity only on the visible units while letting the hidden latent space remain fully quantum.
  • Classical-Quantum LVMs (CQ-LVMs): By applying V-locality to classical data, DO-EM decomposes into fast, per-datapoint updates independent of the visible Hilbert space's exponential size. To handle intractable partition functions in large models, the authors derive a closed-form quantum Gibbs sampling step to train novel Quantum Restricted and Deep Boltzmann Machines (QGRBM and QiDBM) via Contrastive Divergence.

Datasets

No new datasets are introduced, which is actually the point: the authors evaluate DO-LVMs on standard classical computer vision benchmarks for the first time.

  • Initially, they test DO-EM on a small 8-visible-unit synthetic QBM benchmark to compare against exact gradient ascent.
  • For large-scale evaluation, they train CQ-LVMs on MNIST, Fashion-MNIST, and CelebA-32.

Key Insights and Ideas

  • Geometry beats conditioning: You don't need conditional probabilities to do EM. Viewing the E-step geometrically—as projecting a model onto a manifold of feasible data extensions—generalizes seamlessly to non-commuting quantum operators.
  • A new lens on the Petz Recovery Map: In quantum information theory, the Petz Recovery Map is a famous mathematical tool for reversing information loss from a partial trace. The authors show that under V-locality and a specific alignment condition, the optimal QIP E-step is the Petz Recovery Map, giving a fresh variational interpretation to a classic physics result.
  • Keep the quantum in the dark: For classical datasets, Corollary 6.4 shows that a Quantum Boltzmann Machine is a scalable CQ-LVM if and only if quantum transverse-field terms on the visible units are zero. Keeping visible units classical while letting hidden layers leverage quantum superposition gives you both tractability and enhanced modeling power.

Key Results

  • Massive Speedups on Exact Training: On an 8-visible, 2-hidden unit QBM, DO-EM matches the performance of direct projective log-likelihood gradient ascent in fewer steps, taking 0.2 seconds per update compared to ~40 seconds for direct gradient ascent (a 200x speedup).
  • Better Image Generation: Under identical hyperparameters, memory footprints, and matched classical compute budgets, the proposed quantum Boltzmann variants (QGRBM and QiDBM) achieve 20% to 65% reductions in Fréchet Inception Distance (FID) compared to their classical Boltzmann counterparts across MNIST, Fashion-MNIST, and CelebA-32.

Limitations and Future Work

  • Monotonicity gaps: In general quantum settings where the data-processing defect isn't zero, guaranteeing strict, monotone true-likelihood ascent remains an open theoretical problem (though it holds automatically for CQ-LVMs on classical data).
  • Approximation trade-offs: Like classical RBMs, scaling the quantum Boltzmann machines to large images required swapping exact M-steps for Contrastive Divergence, which sacrifices DO-EM's theoretical monotonicity guarantees for tractability.
  • Why does it work so well? While CQ-LVMs clearly beat their classical twins on image benchmarks, the authors note an exciting open question for future work: is this boost coming from superior raw representational capacity, or do positive semi-definite density operators simply create smoother optimization landscapes? (Note: Detailed limitations are deferred by the authors to an appendix not included in the main text).

Summary updated

Abstract

Latent variable models based on density operators, the mathematical foundation of quantum mechanics, remain far less capable than their probabilistic counterparts. This is primarily due to the lack of an Expectation-Maximization (EM) framework for learning density operator models, since the absence of conditional probability for density operators prevents a direct extension of the classical derivation. This paper addresses this challenge by proposing Density Operator Expectation Maximization (DO-EM), using tenets from quantum information theory. We first derive an operator-theoretic analog of the evidence lower bound from the data processing inequality and study its maximization as a projection onto the data manifold. We solve this information projection problem while also improving existing information recovery results. The DO-EM algorithm guarantees monotone likelihood ascent for a rich class of models and is simpler than direct likelihood gradient ascent. The Expectation step recovers the Petz Recovery Map when the model class can be aligned with the target operator. We specialize these models to Classical-Quantum LVMs which scale to standard image datasets via a per-datapoint decomposition of the variational bound and outperform their classical counterparts under matched computational resources.
BibTeX
@inproceedings{vishnu2026learning,
  author = {Adit Vishnu and Abhay Shastry and Dhruva Kashyap and Chiranjib Bhattacharyya},
  title = {{Learning Density Operator Latent Variable Models via Quantum Information Projection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=9GrrknkD1l},
}
Figure