Generative Quantum Machine Learning via Denoising Diffusion Probabilistic Models

Bingzhi Zhang, Peng Xu, Xiaohui Chen, Quntao Zhuang

TL;DR

The authors introduce the Quantum Denoising Diffusion Probabilistic Model (QuDDPM), a generative framework that learns to produce complex quantum states by reversing a "scrambling" noise process. By breaking the generation task into multiple intermediate steps, QuDDPM avoids the "barren plateau" problem that plagues other quantum models, outperforming Quantum GANs in both training stability and state fidelity.

What Problem Does This Paper Address?

Generative modeling—the ability to create new data samples from a learned distribution—is a cornerstone of modern AI (think Stable Diffusion or GPT). In the quantum realm, we want to generate quantum data (ensembles of quantum states) for tasks like characterizing device noise or simulating many-body physics.

However, existing approaches like Quantum Generative Adversarial Networks (QuGANs) face significant hurdles:

  1. Training Instability: Like their classical counterparts, QuGANs suffer from "mode collapse" and vanishing gradients.
  2. Barren Plateaus: As quantum circuits grow, the "landscape" of the optimization problem becomes extremely flat, making it nearly impossible for classical optimizers to find the right parameters.
  3. State Purity: Generating a specific pure state from a noisy, high-entropy background requires a way to "remove" entropy, which standard unitary quantum circuits cannot do alone.

Methods

QuDDPM mirrors the logic of classical diffusion models but translates the mechanics into quantum operations:

  • Forward Process (Scrambling): The model takes "clean" quantum data and subjects it to a series of random unitary transformations (Quantum Scrambling). This gradually erases the information in the state, eventually turning it into a "Haar-random" state—the quantum equivalent of white noise.
  • Backward Process (Denoising): This is the generative part. To turn noise back into data, the model uses Parametrized Quantum Circuits (PQCs). Crucially, because denoising is a contractive process (it must reduce entropy), the authors incorporate ancilla qubits and measurements. By measuring extra qubits at each step, the model "purifies" the state.
  • Divide-and-Conquer Training: Instead of training one deep circuit to map noise directly to data, QuDDPM trains $T$ small steps. For an $n$-qubit system, they use $T \sim n/\log(n)$ steps. Each step uses a shallow circuit, which keeps the gradients large enough to avoid barren plateaus.
  • Loss Function: The model is optimized using Maximum Mean Discrepancy (MMD) or Wasserstein distance, calculated via "SWAP tests" that measure the overlap (fidelity) between the generated and target states.

Datasets

The authors evaluated QuDDPM on several synthetic but physically meaningful quantum "datasets":

  1. Clustered States: Ensembles of single and two-qubit states clustered around a specific point on the Bloch sphere (e.g., the $|0\rangle$ state).
  2. Correlated Noise Model: A 2-qubit system subject to probabilistic, fully correlated Pauli errors.
  3. Many-Body Phases: Ground states of the Transverse-Field Ising Model (TFIM), specifically targeting the ferromagnetic phase.
  4. Topological Data: A "circular state" ensemble where states are distributed along a ring on the Bloch sphere, testing the model's ability to capture non-trivial geometric structures.

Key Insights and Ideas

  • Measurement is the "Secret Sauce": In classical diffusion, you subtract noise. In quantum mechanics, you can't just "subtract" a unitary. The authors realized that projective measurements on ancilla qubits are the necessary mechanism to reduce the entropy of a noisy state and guide it back toward a pure target state.
  • Scrambling as Natural Diffusion: Quantum scrambling—the process by which local information becomes hidden in global correlations—is the perfect physical analogue to classical Gaussian diffusion.
  • Efficiency through Shallow Circuits: By breaking the problem into many steps, each PQC remains shallow (logarithmic depth). This is a major win for near-term (NISQ) quantum computers, which are limited by noise and decoherence in deep circuits.

Key Results

  • Superior Fidelity: In a 2-qubit clustering task, QuDDPM achieved a distance (MMD) to the true distribution of $\simeq 0.002$. In comparison, QuGAN and Quantum Direct Transport (QuDT) were two orders of magnitude worse, failing to converge to the target distribution.
  • Robustness to Topology: QuDDPM successfully learned the "ring" structure of circular states using Wasserstein distance, whereas MMD-based models failed to distinguish the ring from a uniform noise distribution.
  • Gate Complexity: The total gate complexity scales as $O(n^2)$, making it computationally efficient as the number of qubits $n$ increases.
  • Generalization: The authors provided numerical evidence that the generalization error (how well the model performs on unseen noise) scales as $1/(TN)$, where $T$ is the number of diffusion steps and $N$ is the training set size.

Limitations and Future Work

  • Fidelity Estimation Scaling: For very large quantum systems, the "SWAP test" used to calculate the loss function becomes expensive. The authors suggest that future work could use Quantum Convolutional Neural Networks (QCNNs) as discriminators to evaluate the loss more efficiently.
  • Conditional Generation: Currently, the model learns one distribution. A promising direction is adding a "control knob" (conditional input) so a single QuDDPM could generate states from different many-body phases on demand.
  • Hardware Noise: While the model is designed for near-term devices, the paper primarily uses numerical simulations. Testing the robustness of the denoising process against actual hardware decoherence remains a next step.

Summary updated

BibTeX
@inproceedings{zhang2024generative,
  author = {Bingzhi Zhang and Peng Xu and Xiaohui Chen and Quntao Zhuang},
  title = {{Generative Quantum Machine Learning via Denoising Diffusion Probabilistic Models}},
  booktitle = {Physical},
  year = {2024},
  doi = {10.1103/physrevlett.132.100602},
}
Figure