Generative Invertible Quantum Neural Networks

Armand Rousselot, Michael Spannowsky

Abstract

Invertible Neural Networks (INN) have become established tools for the simulation and generation of highly complex data. We propose a quantum-gate algorithm for a Quantum Invertible Neural Network (QINN) and apply it to the LHC data of jet-associated production of a Z-boson that decays into leptons, a standard candle process for particle collider precision measurements. We compare the QINN's performance for different loss functions and training scenarios. For this task, we find that a hybrid QINN matches the performance of a significantly larger purely classical INN in learning and generating complex data.

Introduction

In high-energy physics, simulating the intricate particle interactions observed at the Large Hadron Collider (LHC) is a massive computational undertaking. Generative models, specifically Invertible Neural Networks (INNs), have emerged as powerful tools for this task because they enable "density estimation"—the ability to learn the underlying probability distribution of data to generate new, realistic samples.

However, classical INNs are subject to significant architectural constraints. To remain mathematically invertible and computationally tractable, they typically rely on restrictive structures like coupling blocks. These constraints often necessitate very large models with high parameter counts to accurately capture complex data manifolds. This research explores whether quantum computing can provide a more expressive and parameter-efficient alternative for building invertible generative models.

The Quantum Invertible Neural Network (QINN) Architecture

The proposed QINN architecture leverages the inherent invertibility of quantum gates. Unlike classical neurons, quantum gates are unitary operators, meaning they are mathematically invertible by design. The QINN follows a three-stage "trinity" structure:

  1. State Preparation: Classical input data $x$ is encoded into quantum states using angle encoding (e.g., $R_y$ rotations).
  2. Model Circuit: A series of learnable quantum gates, including single-qubit rotations and CNOT entanglers, transform the state. This stage represents the core learnable component of the network.
  3. Measurement: The final quantum state is measured to produce classical output values.
The architecture of the QINN, showing state preparation, entangling layers, and final measurement.

Innovation: Learnable Inverse State Preparation (ISP)

A fundamental challenge in designing a QINN is that quantum measurement is not naturally invertible; the collapse of the wavefunction results in a loss of information that prevents a direct reverse mapping. To overcome this, the authors introduced a hybrid Learnable Inverse State Preparation (ISP) mechanism.

This approach utilizes a small auxiliary classical network ($g_C$) that works in tandem with a quantum network ($g_Q$). The classical network processes the measured values to predict the parameters for the quantum network, which then attempts to reconstruct the original quantum state in the reverse direction. This hybrid loop allows the model to maintain end-to-end invertibility despite the measurement bottleneck.

The hybrid Inverse State Preparation (ISP) loop, combining classical and quantum networks to reconstruct the quantum state.

To optimize this complex system, the training process utilizes a multi-part loss function:

  • Negative Log-Likelihood (NLL): Ensures the model accurately learns the data distribution.
  • Maximum Mean Discrepancy (MMD): Acts as a "guiding light" during early training stages to help the model align with the target distribution before invertibility is fully established.
  • Invertibility Loss (MSE): Enforces consistency between the forward and backward passes.

Experimental Results and Physics Accuracy

The QINN was evaluated using simulated LHC data for a "standard candle" process: $pp \to Zj \to \ell^+\ell^-j$. This process involves the production of a Z-boson associated with a jet, where the Z-boson subsequently decays into leptons. The dataset comprised 100,000 events simulated via MadGraph5, focusing on five physical observables required to reconstruct the Z-boson's invariant mass ($M_Z$).

Key Findings:

  • Parameter Efficiency: The QINN demonstrated remarkable efficiency, matching or exceeding the performance of a classical INN while using only 2,000 parameters compared to the classical model's 16,000 parameters—an 8x reduction.
  • Reconstruction Accuracy: The QINN was particularly adept at capturing the sharp peak of the Z-boson mass ($M_Z$), a critical feature that even the largest classical models struggled to represent with equal precision.
  • Invertibility Success: The learnable ISP achieved high fidelity, with an average deviation of less than 2.1% during full forward-then-backward transformations.

Discussion and Future Outlook

The QINN offers several theoretical advantages over classical counterparts. In classical INNs, calculating the Jacobian (the transformation of space) is a significant computational bottleneck. In the quantum regime, the Jacobian is "freely available" and can be computed efficiently using parameter shift rules, eliminating the need for restrictive coupling blocks. Furthermore, the use of superposition and entanglement allows quantum models to represent complex transformations with far fewer components than classical neurons.

Despite these successes, challenges remain. The current study was conducted using simulated quantum circuits. Transitioning to Noisy Intermediate-Scale Quantum (NISQ) hardware will require addressing decoherence and gate errors. Additionally, while the hybrid ISP is effective, developing a purely quantum method for measurement inversion remains an open area of research. Future work will focus on scaling these models to higher-dimensional data to further quantify the "quantum advantage" in high-energy physics simulations.

Summary updated

Abstract

Invertible Neural Networks (INN) have become established tools for the simulation and generation of highly complex data. We propose a quantum-gate algorithm for a Quantum Invertible Neural Network (QINN) and apply it to the LHC data of jet-associated production of a Z-boson that decays into leptons, a standard candle process for particle collider precision measurements. We compare the QINN's performance for different loss functions and training scenarios. For this task, we find that a hybrid QINN matches the performance of a significantly larger purely classical INN in learning and generating complex data.
BibTeX
@misc{rousselot2023generative,
  author = {Armand Rousselot and Michael Spannowsky},
  title = {{Generative Invertible Quantum Neural Networks}},
  year = {2023},
  eprint = {2302.12906},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.12906},
}
Figure