Exploiting Symmetry in Variational Quantum Machine Learning

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

TL;DR

This paper introduces a formal framework for building "equivariant" variational quantum machine learning (VQML) models that inherently respect the symmetries of a learning task. By using representation theory to symmetrize both data embeddings and quantum gates, the authors demonstrate that these models achieve significantly better generalization and can even mitigate the notorious "barren plateau" problem.

What Problem Does This Paper Address?

Variational Quantum Machine Learning (VQML) is a leading candidate for demonstrating quantum advantage on near-term (NISQ) devices. However, designing the "ansatz"—the structure of the parameterized quantum circuit—is often a shot in the dark. Without a good "inductive bias" (prior knowledge about the problem structure), these models often 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 (like CNNs) that are invariant to translations or rotations. This paper tackles the challenge of translating these geometric principles into the quantum realm, where data must be embedded into a high-dimensional Hilbert space.

Methods

The authors propose a holistic approach to "symmetrizing" the entire quantum pipeline:

  1. Equivariant Data Embeddings: They show how to construct unitary operators $U(x)$ that embed classical data $x$ such that a symmetry transformation on the data corresponds to a well-defined unitary transformation in the Hilbert space. They provide explicit constructions for permutation symmetries (useful for sets/graphs) and continuous symmetries like $SO(3)$ and $O(3)$ (rotations and reflections in 3D space).
  2. Gate Symmetrization (Twirling): To ensure the trainable part of the circuit respects the symmetry, they use a "twirling" formula. This mathematical process takes a standard gateset (like local Pauli rotations) and projects it onto a set of operators that commute with the symmetry representation. This results in an equivariant gateset.
  3. Invariant Re-uploading Models: By combining equivariant embeddings with equivariant trainable blocks and measuring "invariant observables," they create a model whose output is guaranteed to be identical for any two data points related by a symmetry (e.g., a rotated tic-tac-toe board).

Datasets

The researchers benchmarked their approach on several "toy" but structurally complex problems:

  • Tic-Tac-Toe Classification: Classifying board states as "cross won," "circle won," or "draw." This features the dihedral group $D_4$ symmetry (rotations and reflections of a square).
  • Autonomous Vehicle Scenarios: A simplified $3 \times 3$ grid representing driving situations (intersections, curves) with a criticality metric. This uses a $Z_4$ rotational symmetry.
  • Physical Models (VQE): They also applied the method to finding ground states for the Transverse-Field Ising Model (TFIM), the Heisenberg model, and a custom "Longitudinal-Transverse-Field Ising Model" (LTFIM).

Key Insights and Ideas

  • 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.
  • Barren Plateau Mitigation: One of the most exciting findings is that symmetrization can change the scaling of gradient variance. For the TFIM, the equivariant ansatz showed polynomial gradient decay versus the exponential decay (barren plateau) of the standard ansatz.
  • The "Twirling" Shortcut: The paper provides a principled way to derive new gatesets. Instead of guessing which gates might work, researchers can start with a standard set and "twirl" them to see what the symmetry allows.
  • Automatic Parameter Sharing: Symmetrization naturally leads to parameter sharing (applying the same rotation angle to multiple qubits), which is the quantum equivalent of weight sharing in classical CNNs.

Key Results

  • Generalization Gap: In both the tic-tac-toe and autonomous driving tasks, the invariant models showed a much smaller gap between training and test accuracy. While they sometimes performed slightly worse on training data, they consistently outperformed non-invariant models on unseen test data (see Figures 4 and 7).
  • 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.
  • Optimization Speed: In VQE tasks, equivariant ansätze generally required significantly fewer iterations to converge to a solution compared to their non-equivariant counterparts (see Figures 9 and 10).

Limitations and Future Work

The authors acknowledge a fundamental trade-off between expressivity and equivariance. If a circuit is too shallow, a strictly equivariant model might be too restricted to reach the correct solution. In some cases, "symmetry-breaking" gates might be necessary to navigate the loss landscape effectively.

Future work includes scaling these models to more qubits and more complex, real-world datasets. There is also an open question regarding which specific Lie groups admit "faithful" quantum embeddings that are both efficient to implement and physically meaningful.

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