Exploiting symmetry in variational quantum machine learning

Johannes Jakob Meyer, Marian Mularski, Elies Gil-Fuster, Antonio Anna Mele, Francesco Arzani, Alissa Wilms, Jens Eisert · DOI

Abstract

Variational Quantum Machine Learning (VQML) faces significant challenges in generalization and trainability, often suffering from the "barren plateau" problem. This paper introduces a formal framework for building "equivariant" VQML models that inherently respect the symmetries of a learning task. By leveraging representation theory to symmetrize both data embeddings and quantum gates, the authors demonstrate that these models achieve superior generalization and can fundamentally improve optimization landscapes.

Introduction

Variational Quantum Machine Learning (VQML) is a primary candidate for demonstrating quantum advantage on near-term (NISQ) devices. However, designing the "ansatz"—the structure of the parameterized quantum circuit—is often a heuristic process. Without a good "inductive bias" (prior knowledge about the problem structure), these models frequently overfit training data or fail to train altogether due to vanishing gradients, known as barren plateaus.

In classical deep learning, "Geometric Deep Learning" has revolutionized fields like computer vision by building models (such as CNNs) that are invariant to translations or rotations. This paper translates these geometric principles into the quantum realm, where data must be embedded into a high-dimensional Hilbert space.

The Equivariant VQML Framework

The authors propose a holistic approach to "symmetrizing" the entire quantum pipeline, ensuring that the model's structure reflects the underlying symmetries of the data or the physical system.

The general framework for constructing equivariant variational quantum circuits by symmetrizing embeddings and gatesets.

The process involves three core components:

  1. Equivariant Data Embeddings: Classical data $x$ is embedded using unitary operators $U(x)$ such that symmetry transformations on the data correspond to well-defined unitary transformations in the Hilbert space. The authors provide explicit constructions for permutation symmetries and continuous symmetries like $SO(3)$.
  2. Gate Symmetrization (Twirling): To ensure the trainable part of the circuit respects the symmetry, a mathematical process called "twirling" is used. This projects a standard gateset (like local Pauli rotations) onto a set of operators that commute with the symmetry representation, resulting in an equivariant gateset.
  3. Invariant Re-uploading Models: By combining equivariant embeddings with equivariant trainable blocks and measuring "invariant observables," the model's output is guaranteed to be identical for any two data points related by a symmetry.
An example of a $\mathbb{Z}_2 \times \mathbb{Z}_2$ symmetric problem and its corresponding induced representation in a quantum circuit.

Key Insights and Results

The research highlights several critical advantages of the equivariant approach over standard variational methods:

  • Generalization over Expressivity: While non-equivariant models are more "expressive" (they can represent more functions), this is often a disadvantage. Equivariant models have fewer parameters and a smaller search space, which forces them to learn the underlying logic of the problem rather than memorizing the training set. In tasks like tic-tac-toe classification, invariant models showed a much smaller gap between training and test accuracy.
  • Barren Plateau Mitigation: One of the most significant findings is that symmetrization can change the scaling of gradient variance. For the Transverse-Field Ising Model (TFIM), the equivariant ansatz showed polynomial gradient decay versus the exponential decay (barren plateau) typical of standard ansätze.
  • Parameter Efficiency: For the Heisenberg model, the equivariant ansatz required only $2p$ parameters compared to $7p$ for the non-symmetric version, yet it reached lower energy states more reliably at sufficient depths.

Conclusion

The study demonstrates a fundamental trade-off between expressivity and equivariance. While strictly equivariant models are more efficient and trainable, they may require sufficient depth to reach the correct solution. Future work includes scaling these models to more qubits and identifying which Lie groups admit the most physically meaningful and efficient quantum embeddings. This framework provides a principled path toward designing quantum neural networks that are tailored to the geometry of the data they process.

Summary updated

BibTeX
@inproceedings{meyer2023exploiting,
  author = {Johannes Jakob Meyer and Marian Mularski and Elies Gil-Fuster and Antonio Anna Mele and Francesco Arzani and Alissa Wilms and Jens Eisert},
  title = {{Exploiting symmetry in variational quantum machine learning}},
  booktitle = {PRX},
  year = {2023},
  doi = {10.1103/prxquantum.4.010328},
}
Figure