DO-EM: Density Operator Expectation Maximization

Adit Vishnu, Abhay Shastry, Dhruva Kashyap, Chiranjib Bhattacharyya · OpenReview

Abstract

Density operators, quantum generalizations of probability distributions, are gaining prominence in machine learning due to their foundational role in quantum computing. Generative modeling based on density operator models (DOMs) is an emerging field, but existing training algorithms -- such as those for the Quantum Boltzmann Machine -- do not scale to real-world data, such as the MNIST dataset. The Expectation-Maximization algorithm has played a fundamental role in enabling scalable training of probabilistic latent variable models on real-world datasets. In this paper, we develop an Expectation-Maximization framework to learn latent variable models defined through DOMs on classical hardware, with resources comparable to those used for probabilistic models, while scaling to real-world data. However, designing such an algorithm is nontrivial due to the absence of a well-defined quantum analogue to conditional probability, which complicates the Expectation step. To overcome this, we reformulate the Expectation step as a quantum information projection (QIP) problem and show that the Petz Recovery Map provides a solution under sufficient conditions. Using this formulation, we introduce the Density Operator Expectation Maximization (DO-EM) algorithm -- an iterative Minorant-Maximization procedure that optimizes a quantum evidence lower bound. We show that the DO-EM algorithm ensures non-decreasing log-likelihood across iterations for a broad class of models. Finally, we present Quantum Interleaved Deep Boltzmann Machines (QiDBMs), a DOM that can be trained with the same resources as a DBM. When trained with DO-EM under Contrastive Divergence, a QiDBM outperforms larger classical DBMs in image generation on the MNIST dataset, achieving a 40--60% reduction in the Fréchet Inception Distance.

Introduction

In classical machine learning, Latent Variable Models (LVMs)—such as Gaussian Mixture Models and Restricted Boltzmann Machines—serve as the backbone for unsupervised learning. These models capture complex data distributions by assuming hidden factors influence observed variables. The standard optimization technique for LVMs is the Expectation-Maximization (EM) algorithm, which iteratively optimizes a lower bound on the log-likelihood.

As quantum machine learning (QML) matures, there is a growing interest in using density operators rather than classical probability distributions. Density operators are mathematically richer, capable of representing quantum phenomena like superposition and entanglement. However, training "Quantum LVMs" has historically been computationally prohibitive. The primary obstacle is that quantum operators do not commute, meaning the standard algebraic derivations used for classical EM do not apply. Consequently, prior quantum generative models were limited to small-scale "toy" datasets. This research introduces DO-EM, a framework that bridges this gap, enabling the training of quantum-inspired models on real-world datasets like MNIST and CelebA.

The DO-EM Framework

The authors propose the Density Operator Expectation Maximization (DO-EM) algorithm, which adapts the iterative Minorant-Maximization procedure to the quantum regime. This framework relies on three primary innovations:

1. The Quantum ELBO (QELBO)

By leveraging the monotonicity of relative entropy, the researchers derived a Quantum Evidence Lower Bound (QELBO). This provides the necessary mathematical "floor" to ensure that each iteration of the algorithm moves toward a more accurate model of the data.

2. The Petz Recovery Map as the E-Step

In classical EM, the "Expectation" step involves calculating a conditional probability via Bayes' Rule. In the quantum setting, conditional probability is not uniquely defined. The authors demonstrate that the optimal E-step is equivalent to the Petz recovery map, a fundamental tool in quantum information theory used to reverse quantum channels. This realization provides an information-geometric solution to the quantum E-step.

3. Classical-Quantum Latent Variable Models (CQ-LVMs)

To ensure practical scalability on classical hardware, the paper introduces CQ-LVMs. In this architecture, the "visible" layer (e.g., image pixels) remains classical, while the "latent" layer consists of quantum states. This hybrid structure avoids the exponential complexity typically associated with full quantum simulations, allowing the models to scale to thousands of units.

New Architectures: QiDBM and QGRBM

The researchers introduced two novel model architectures within this framework:

  • Quantum Interleaved Deep Boltzmann Machine (QiDBM): A deep architecture that can be trained with resources comparable to a classical DBM.
  • Quantum Gaussian-Bernoulli RBM (QGRBM): Designed for continuous data, providing a quantum alternative to standard Gaussian RBMs.

Experimental Results

The DO-EM framework was evaluated against standard benchmarks, including MNIST, Fashion-MNIST, and CelebA-32. The results demonstrate significant advantages in both efficiency and generative quality.

Efficiency and Convergence

In exact computation settings, DO-EM achieved a 200x speedup over direct gradient-based maximization, reducing training step time from 40 seconds to 0.2 seconds. Furthermore, the algorithm converged in approximately half the number of steps required by gradient methods.

Generative Performance

The "quantumness" of the latent states allowed these models to capture more intricate dependencies than their classical counterparts:

  • MNIST: The QiDBM achieved a 45% reduction in Fréchet Inception Distance (FID) compared to classical DBMs.
  • CelebA & Fashion-MNIST: The QGRBM showed a 20-30% reduction in FID, producing samples with significantly higher diversity and fewer artifacts.
  • Scalability: The authors successfully trained models with over 18,000 units, a milestone for quantum-inspired generative modeling.

Conclusion

DO-EM represents a significant step forward in making quantum-inspired machine learning practical for real-world applications. By identifying the Petz recovery map as the quantum E-step, the authors have provided a rigorous theoretical foundation for training density operator models. While currently simulated on classical GPUs, these models demonstrate a clear "modeling advantage" in image generation tasks. Future work will focus on transitioning these algorithms to actual quantum processing units (QPUs), where the inherent properties of density operators can be fully exploited without the overhead of classical simulation.

Summary updated

BibTeX
@misc{vishnu2025do,
  author = {Adit Vishnu and Abhay Shastry and Dhruva Kashyap and Chiranjib Bhattacharyya},
  title = {{DO-EM: Density Operator Expectation Maximization}},
  year = {2025},
  eprint = {2507.22786},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.22786},
}
Figure