Generative Quantum Machine Learning

Christa Zoufal · DOI

Abstract

The goal of generative machine learning is to model the probability distribution underlying a given dataset, characterizing the generation process of data samples. While classical generative machine learning relies on classical resources, Generative Quantum Machine Learning (GQML) employs quantum resources—such as parameterized quantum channels and operators—to learn and sample from probability models. This doctoral thesis develops new GQML algorithms, demonstrates their feasibility on near-term hardware, and analyzes their performance. Specifically, it introduces a Quantum Generative Adversarial Network (qGAN) and a Quantum Boltzmann Machine (QBM) implementation, both realized via parameterized quantum circuits. These models offer a path toward efficient, approximate quantum data loading, potentially bypassing the exponential costs associated with exact methods.

Introduction

In the classical domain, generative models have revolutionized how we interact with data, enabling the creation of synthetic yet realistic samples across various media. The transition to the quantum regime is motivated by the potential for quantum systems to represent probability distributions that are mathematically intractable for classical computers. However, a significant hurdle remains: the quantum data loading bottleneck. To utilize a quantum algorithm on classical data, the data must first be encoded into a quantum state. Exact encoding often requires an exponential number of quantum gates, which can negate any theoretical quantum speedup. This work addresses this challenge by using generative models to learn an approximate representation of data distributions directly on quantum hardware.

Methodological Framework

The research focuses on two primary architectures utilizing Parameterized Quantum Circuits (PQCs)—shallow circuits with tunable parameters optimized via classical feedback loops.

1. Quantum Generative Adversarial Networks (qGANs)

Mirroring classical GANs, the qGAN architecture employs a "Generator" and a "Discriminator." In this hybrid setup, the Generator is a quantum circuit that produces quantum states, while the Discriminator is a classical neural network tasked with distinguishing between real data and the Generator's output. Through adversarial training, the quantum circuit learns to mimic the target data distribution. This approach allows for "implicit data loading," where the trained quantum channel generates data samples on demand with significantly fewer gates than exact methods.

2. Quantum Boltzmann Machines (QBMs)

QBMs are energy-based models where data is represented by the thermal equilibrium (Gibbs state) of a quantum system. To implement this on Noisy Intermediate-Scale Quantum (NISQ) hardware, the thesis utilizes Variational Quantum Imaginary Time Evolution (VarQITE). This technique prepares complex Gibbs states efficiently and enables automatic differentiation. Furthermore, the work introduces a rigorous a posteriori error bound for VarQITE, providing a mathematical tool to quantify the accuracy of quantum approximations in a noisy environment.

Experimental Validation and Results

The proposed models were evaluated using synthetic benchmarks, financial datasets, and classification tasks:

  • Hardware Implementation: The qGAN was successfully trained on the IBM Quantum Boeblingen 20-qubit chip. Despite the presence of hardware noise, the model demonstrated convergence, proving the viability of GQML on current-generation processors.
  • Financial Engineering: The research applied a qGAN-trained distribution to price a European Call Option using Quantum Amplitude Estimation (QAE). The results closely matched the analytical Black-Scholes model, suggesting a practical application for quantum algorithms in finance.
  • Fraud Detection: In a classification task involving 500 credit card transactions, the VarQBM achieved an F1 score of 0.70. This performance outperformed several standard classical benchmarks, including Linear SVMs and standard Restricted Boltzmann Machines (RBMs).
  • State Preparation Fidelity: In molecular physics simulations (Hydrogen molecule $H_2$), VarQITE achieved state preparation fidelities exceeding 0.99 in simulation and 0.96 on real hardware.

Discussion and Future Directions

While the results demonstrate the feasibility of GQML, several challenges persist. The "barren plateau" problem—where gradients vanish as quantum circuits grow in expressivity—poses a hurdle for scaling these models to hundreds of qubits. Additionally, the design of the quantum "ansatz" (the circuit structure) remains largely heuristic. Future research must focus on developing problem-specific architectures that are resilient to noise and easier to optimize.

In conclusion, this thesis establishes that generative quantum models can provide efficient, approximate representations of complex distributions. By leveraging hybrid quantum-classical synergy, these algorithms offer a near-term solution to the data loading bottleneck, moving the field closer to realizing a practical quantum advantage.

Summary updated

BibTeX
@misc{zoufal2021generative,
  author = {Christa Zoufal},
  title = {{Generative Quantum Machine Learning}},
  year = {2021},
  eprint = {2111.12738},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.12738},
}
Figure