Dynamical simulation via quantum machine learning with provable generalization

Joe Gibbs, Zoë Holmes, Matthias C. Caro, Nicholas Ezzell, Hsin-Yuan Huang, Lukasz Cincio, Andrew T. Sornborger, Patrick J. ColesarXiv 2022 · DOI

Abstract

Much attention has been paid to dynamical simulation and quantum machine learning (QML) independently as applications for quantum advantage, while the possibility of using QML to enhance dynamical simulations has not been thoroughly investigated. Here we develop a framework for using QML methods to simulate quantum dynamics on near-term quantum hardware. We use generalization bounds, which bound the error a machine learning model makes on unseen data, to rigorously analyze the training data requirements of an algorithm within this framework. This provides a guarantee that our algorithm is resource-efficient, both in terms of qubit and data requirements. Our numerics exhibit efficient scaling with problem size, and we simulate 20 times longer than Trotterization on IBMQ-Bogota.

Introduction: The Challenge of NISQ Dynamics

Simulating the time-evolution of quantum systems is a cornerstone application for quantum computing. However, in the Noisy Intermediate-Scale Quantum (NISQ) era, we face a "depth wall." Standard approaches like Trotterization decompose long-time evolution into many small steps, causing circuit depth to grow linearly with simulation time. On noisy hardware, this accumulation of errors quickly overwhelms the signal, preventing the observation of long-term dynamics.

While "fast-forwarding" techniques exist to bypass this linear growth, they often demand excessive qubit overhead or massive training datasets. Furthermore, many QML-based approaches lack rigorous proofs regarding generalization—the ability of a model to perform accurately on states it hasn't seen during training.

The REFF Framework

To address these challenges, the authors introduce Resource-Efficient Fast Forwarding (REFF). This algorithm uses QML to learn the underlying diagonalization of a system's short-time evolution.

The REFF framework: Training on short-time data to learn a diagonalizing unitary for long-time fast-forwarding.

The REFF strategy involves three main stages:

  1. Ansatz Construction: A time-dependent Quantum Neural Network (QNN) is structured as $V_t(\alpha) = W(\theta) D_t(\gamma) W^\dagger(\theta)$, where $W$ is a diagonalizing unitary and $D$ is a diagonal matrix handling time evolution.
  2. Training on Product States: The model is trained using pairs of initial and evolved states over a short interval $\Delta t$. Crucially, REFF uses Haar-random product states for training. These are easy to prepare on noisy hardware as they require no entanglement.
  3. Fast-Forwarding: Once the parameters $\theta$ and $\gamma$ are optimized, simulating the system at a distant time $T$ is achieved by simply scaling the parameters in the diagonal component $D$. Because the structure of $W$ remains fixed, the circuit depth does not increase with simulation time.

To ensure scalability and avoid "barren plateaus" (where gradients vanish during optimization), the algorithm employs local cost functions, making it viable as the number of qubits grows.

Key Results and Hardware Demonstration

The REFF algorithm was validated both numerically and on the 5-qubit IBMQ-Bogota processor. The results demonstrate a significant leap over traditional methods.

Performance comparison: (a) Training cost convergence and (b) REFF vs. Trotterization fidelity over extended timesteps.

20x Longer Simulations

On IBM hardware, REFF successfully simulated a 2-qubit system for 20 times longer than standard Trotterization before noise dominated the results. While Trotterization fidelity dropped below 0.8 after just 4 steps, REFF maintained this fidelity level for 94 steps.

Provable Generalization and Data Efficiency

A core contribution of this work is a mathematical proof (Theorem 1) establishing that training data requirements scale polynomially with system size. Numerically, the authors found that for a 4-qubit Heisenberg model, just 5 random product states were sufficient for the model to generalize across the entire Hilbert space. This confirms that complex entangled dynamics can be learned from simple, easy-to-prepare states.

Scalability

Simulations of the XY model up to 12 qubits showed that the gate count required for the diagonalizing ansatz scales as $O(n^2)$. This polynomial scaling suggests that REFF is a viable candidate for larger-scale quantum simulations.

Conclusion and Future Outlook

REFF shifts the burden of quantum simulation from circuit depth to a one-time training phase, effectively bypassing the "depth wall" of NISQ hardware. While the current implementation relies on an ansatz capable of diagonalizing the specific Hamiltonian—a task easier for integrable systems—it provides a rigorous foundation for QML-enhanced simulation. Future research may focus on specializing the algorithm for specific subspaces or symmetries, potentially further reducing data and circuit requirements for complex, non-integrable systems.

Summary updated

BibTeX
@misc{gibbs2022dynamical,
  author = {Joe Gibbs and Zoë Holmes and Matthias C. Caro and Nicholas Ezzell and Hsin-Yuan Huang and Lukasz Cincio and Andrew T. Sornborger and Patrick J. Coles},
  title = {{Dynamical simulation via quantum machine learning with provable generalization}},
  year = {2022},
  eprint = {2204.10269},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.10269},
}
Figure