Hybrid Quantum-Classical Generative Adversarial Network for High Resolution Image Generation

Shu Lok Tsang, Maxwell T. West, Sarah M. Erfani, Muhammad UsmanIEEE Transactions on Quantum Engineering 2022

Introduction

Generative Adversarial Networks (GANs) have revolutionized artificial intelligence by enabling the generation of highly realistic synthetic data. However, their classical implementation is computationally intensive and requires vast amounts of training data. Quantum Machine Learning (QML) has emerged as a promising alternative, potentially offering superior data pattern recognition and faster training cycles.

Despite this promise, the current Noisy Intermediate-Scale Quantum (NISQ) era presents significant hardware constraints. Most existing Quantum GANs (QGANs) are limited to generating low-resolution "toy" images (e.g., $2 \times 2$ pixels) or rely on heavy dimensionality reduction techniques like Principal Component Analysis (PCA), which often results in blurred outputs. This paper introduces PQWGAN (Patch Quantum Wasserstein GAN), a hybrid framework that bridges the gap between quantum proof-of-concept and high-resolution image generation.

The PQWGAN Framework

The core innovation of PQWGAN lies in its "patch-based" approach to image generation, combined with a robust training framework designed for stability.

The Patch Strategy

To overcome the limitations of single quantum circuits in handling high-dimensional data, the researchers developed a multi-circuit generator. Instead of a single circuit attempting to produce a full $28 \times 28$ (784-pixel) image, the image is divided into smaller patches. Each patch is generated by its own Parameterized Quantum Circuit (PQC) sub-generator. These individual patches are then concatenated to form the final high-resolution output. This strategy keeps the Hilbert space of each sub-generator manageable, effectively mitigating the "barren plateau" problem where gradients vanish in large quantum circuits.

Hybrid Architecture and Wasserstein Loss

The system utilizes a hybrid quantum-classical architecture. While the generator consists of multiple quantum sub-circuits, the "critic"—the component responsible for distinguishing real from synthetic data—is a classical neural network.

The PQWGAN architecture: A latent vector is fed into multiple quantum sub-generators to produce image patches, which are then evaluated by a classical critic using Wasserstein distance.

To ensure training stability, the authors adopted the Wasserstein distance with a Gradient Penalty (GP). In classical GANs, WGAN-GP is known for preventing mode collapse and vanishing gradients; in this hybrid context, it provides the necessary stability to train quantum circuits effectively on complex datasets.

Experimental Evaluation

The model was benchmarked using two standard datasets:

  • MNIST: Handwritten digits (0-9).
  • Fashion MNIST (FMNIST): Grayscale images of clothing items such as T-shirts and trousers.

The researchers tested the model's ability to handle multi-modal data by training it on binary (e.g., 0 and 1) and triple (0, 1, and 3) class subsets.

Discussion of Quantum Advantages

The study revealed several key insights into the behavior and potential of quantum generative models:

  1. Extreme Parameter Efficiency: One of the most significant findings is the disparity in parameter requirements. The quantum generator achieved results comparable to classical models using only 5,376 parameters, whereas the classical counterpart required 1.46 million parameters. This suggests that quantum circuits possess significantly higher expressive power per parameter.
  2. Quantum Noise and Fuzziness: The generated images often exhibit a slight "fuzziness." This is attributed to the mathematical difficulty of achieving a perfect zero amplitude in highly entangled quantum states, resulting in a persistent background gray tint rather than pure black pixels.
  3. Latent Space Exploration: Unlike classical GANs that typically use Gaussian noise, the researchers found that a Uniform prior for the latent space allowed the quantum generator to explore and map data distributions more effectively in the near term.

Results

PQWGAN represents the first successful demonstration of a QGAN generating full $28 \times 28$ images without significant downscaling or PCA.

Comparison of generated samples from PQWGAN and WGAN-GP across MNIST and FMNIST datasets, alongside training curves showing Wasserstein distance convergence.

As shown in the results, the PQWGAN produces recognizable digits and clothing items that are qualitatively competitive with fully classical WGAN-GP outputs. Furthermore, the researchers observed clear scaling laws: increasing the number of qubits and layers within the sub-generators consistently improved image sharpness, providing a roadmap for future hardware advancements.

Conclusion and Future Work

While PQWGAN is a major leap forward, several challenges remain. The current results were obtained through high-performance classical simulations; testing on real, noisy NISQ hardware is a critical next step. Additionally, the framework is currently limited to grayscale images. Extending this to color (RGB) would significantly increase the complexity and data requirements. Future research will also explore the development of a fully quantum critic and the application of this patch-based strategy to more complex natural scenes and irregular structures.

Summary updated

BibTeX
@misc{tsang2022hybrid,
  author = {Shu Lok Tsang and Maxwell T. West and Sarah M. Erfani and Muhammad Usman},
  title = {{Hybrid Quantum-Classical Generative Adversarial Network for High Resolution Image Generation}},
  year = {2022},
  eprint = {2212.11614},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.11614},
}
Figure