Differential equation quantum solvers: engineering measurements to reduce cost
Annie Paine, Casper Gyurik, Antonio Andrea Gentile
TL;DR
This work tackles the high cost of quantum-circuit evaluations in differentiable quantum circuit methods for solving nonlinear differential equations on near-term devices. It introduces two resource-efficient protocols—Trainable Observable (TO) and Flipped Shadow (FS)—that restructure information extraction: TO replaces parameter-dependent circuit scans with precomputed, parameter-free measurements, while FS uses classical shadows to batch-derive derivatives across many collocation points. Benchmark results on 1D and 2D DEs show up to around 100x reductions in circuit evaluations, with tradeoffs depending on the measurement-operator choice and grid size, indicating these methods can be complementary. Overall, the approaches substantially improve the practical implementability of DQC for SciML, enabling larger and more complex DE demonstrations on hardware-constrained quantum devices.
Abstract
Quantum computers have been proposed as a solution for efficiently solving non-linear differential equations (DEs), a fundamental task across diverse technological and scientific domains. However, a crucial milestone in this regard is to design protocols that are hardware-aware, making efficient use of limited available quantum resources. We focus here on promising variational methods derived from scientific machine learning: differentiable quantum circuits (DQC), addressing specifically their cost in number of circuit evaluations. Reducing the number of quantum circuit evaluations is particularly valuable in hybrid quantum/classical protocols, where the time required to interface and run quantum hardware at each cycle can impact the total wall-time much more than relatively inexpensive classical post-processing overhead. Here, we propose and test two sample-efficient protocols for solving non-linear DEs, achieving exponential savings in quantum circuit evaluations. These protocols are based on redesigning the extraction of information from DQC in a ``measure-first" approach, by introducing engineered cost operators similar to the randomized-measurement toolbox (i.e. classical shadows). In benchmark simulations on one and two-dimensional DEs, we report up to $\sim$ 100 fold reductions in circuit evaluations. Our protocols thus hold the promise to unlock larger and more challenging non-linear differential equation demonstrations with existing quantum hardware.
