[Paper Review] Variational Quantum Circuits Enhanced Generative Adversarial Network
This paper proposes QC-GAN, a hybrid quantum-classical generative adversarial network that integrates a variational quantum circuit into the generator of a classical GAN to enhance image generation. By leveraging quantum entanglement and expressiveness, QC-GAN achieves superior Frechet Inception Distance scores with significantly fewer training parameters and iterations than classical GANs, while outperforming other QGANs like pathGAN in generating higher-resolution images such as 28×28 handwritten digits.
Generative adversarial network (GAN) is one of the widely-adopted machine-learning frameworks for a wide range of applications such as generating high-quality images, video, and audio contents. However, training a GAN could become computationally expensive for large neural networks. In this work, we propose a hybrid quantum-classical architecture for improving GAN (denoted as QC-GAN). The performance was examed numerically by benchmarking with a classical GAN using MindSpore Quantum on the task of hand-written image generation. The generator of the QC-GAN consists of a quantum variational circuit together with a one-layer neural network, and the discriminator consists of a traditional neural network. Leveraging the entangling and expressive power of quantum circuits, our hybrid architecture achieved better performance (Frechet Inception Distance) than the classical GAN, with much fewer training parameters and number of iterations for convergence. We have also demonstrated the superiority of QC-GAN over an alternative quantum GAN, namely pathGAN, which could hardly generate 16$ imes$16 or larger images. This work demonstrates the value of combining ideas from quantum computing with machine learning for both areas of Quantum-for-AI and AI-for-Quantum.
Motivation & Objective
- To address the high computational cost and training instability of large-scale classical GANs in image generation.
- To explore the integration of quantum advantages into classical machine learning frameworks under NISQ-era constraints.
- To improve image generation quality and efficiency using a hybrid quantum-classical architecture.
- To demonstrate the superiority of quantum-enhanced generators over existing quantum GANs like pathGAN in generating higher-resolution images.
Proposed method
- The generator in QC-GAN combines a variational quantum circuit with a single-layer classical neural network to model complex data distributions.
- The discriminator is a standard classical neural network that distinguishes real from generated images.
- Quantum circuits are trained using parameter-shift rules via differentiable quantum machine learning, enabling gradient-based optimization.
- The model is trained end-to-end using adversarial loss, with the generator minimizing the discriminator’s ability to distinguish real from fake samples.
- Experiments are conducted using MindSpore Quantum on the MNIST dataset for 28×28 handwritten digit generation.
- The architecture is compared against classical GANs and pathGAN, with evaluation based on Frechet Inception Distance (FID) and training convergence speed.
Experimental results
Research questions
- RQ1Can a hybrid quantum-classical generator improve image generation performance compared to classical GANs?
- RQ2How does QC-GAN perform in generating high-resolution images (e.g., 28×28) under limited quantum resources?
- RQ3Does integrating variational quantum circuits reduce the number of required training parameters and iterations?
- RQ4How does QC-GAN compare to other QGAN architectures like pathGAN in terms of image quality and scalability?
Key findings
- QC-GAN achieves a better Frechet Inception Distance (FID) score than classical GANs, indicating higher-quality image generation with fewer parameters and faster convergence.
- The model successfully generates clear 28×28 handwritten digits using only 5 qubits, demonstrating scalability with minimal quantum resources.
- QC-GAN outperforms pathGAN in generating 16×16 images, where pathGAN requires 16 sub-generators and suffers from degraded image quality.
- Training loss curves show adversarial dynamics with initial instability followed by convergence to equilibrium, typical of GANs, but stabilized through hyperparameter tuning.
- Despite quantum advantages, the model exhibits limited diversity in generated samples due to the linear nature of quantum circuits.
- Hardware implementation remains challenging due to current limitations in quantum coherence, measurement accuracy, and high resource costs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.