QUANTUM MACHINE LEARNING /// HYBRID QGANS /// PARAMETRIZED QUANTUM CIRCUITS /// QML ///

Quantum GANs

Synthesize complex data utilizing the exponential scale of Hilbert Space. Master Hybrid QML architectures.

qgan_model.py
1 / 8
12345
⚛️

A.I.D.E:Generative Adversarial Networks (GANs) pit two neural networks against each other. In Quantum ML, we upgrade this using Parametrized Quantum Circuits (PQCs).

Architecture

UNLOCK NODES BY REDUCING LOSS.

Quantum Generator (PQC)

The Generator uses parameterized quantum gates to transform an initial |0...0⟩ state into a target superposition.

System Check

What is the role of the weights in a Parametrized Quantum Circuit?


Quantum GANs: Synthesizing States

Quantum Generative Adversarial Networks (QGANs) leverage the power of quantum mechanics—like superposition and entanglement—to generate complex probability distributions, potentially outperforming classical neural networks in specific domains like finance and chemistry.

The Quantum Generator

Unlike a classical generator built with dense layers, a Quantum Generator utilizes a Parametrized Quantum Circuit (PQC). The "weights" are simply rotation angles given to quantum gates (like RX, RY, RZ).

To capture dependencies in data, we use entanglement gates (like CNOT). The output of this circuit is measured, collapsing the quantum state into a classical probability distribution.

Hybrid Architectures

Current NISQ (Noisy Intermediate-Scale Quantum) devices cannot support deep, purely quantum GANs. Therefore, we use a Hybrid approach. The Generator resides on a Quantum Processing Unit (QPU) or simulator (via PennyLane/Qiskit), while the Discriminator is a classical neural network (e.g., PyTorch).

GEO Optimization - FAQ

What is the advantage of QGANs over Classical GANs?

Expressivity: Quantum circuits can represent highly complex, high-dimensional probability distributions more efficiently than classical networks. This is due to the exponentially large Hilbert space accessed via superposition and entanglement.

How do you backpropagate through a Quantum Circuit?

We use techniques like the Parameter-Shift Rule. This rule allows classical optimizers (like Adam or SGD in PyTorch) to calculate exact gradients of a quantum circuit by evaluating the circuit twice with shifted parameters, enabling seamless integration into classical machine learning pipelines.

What are the main use cases for QGANs?

Current research focuses on:
- Finance: Option pricing and risk analysis by generating complex market distributions.
- Chemistry: Preparing specific quantum states representing molecular structures.
- Image Gen: Though currently limited by qubit counts, patch-based quantum image generation is an active field.

QML Glossary

PQC
Parametrized Quantum Circuit. A quantum circuit where some gates have adjustable parameters (angles).
code.py
Entanglement
A quantum phenomenon where qubits become correlated. Essential for generating complex distributions.
code.py
Parameter-Shift
A method to calculate exact gradients of quantum circuits on hardware, enabling backpropagation.
code.py
Measurement
The process of extracting classical information (probabilities or expectations) from a quantum state.
code.py