End-to-End Quantum Algorithm for Differential Equations: Application to Simulating a Biomolecular System
Abstract
Quantum algorithms for differential equations have the potential for substantial algorithmic speedups over classical methods. However, they rely on certain assumptions and abstract oracle specifications that leave their practical feasibility and computational advantages for realistic applications unclear. Here we formalize the concept of an end-to-end quantum algorithm for differential equations as one that accepts classical inputs and returns classical outputs, and provide implementations for algorithmic primitives in constructing such algorithms. We present a tailored end-to-end quantum algorithm for the linearized Poisson-Boltzmann (LPB) equation, a partial differential equation (PDE) with variable coefficients widely used in simulating a biomolecular system. We explicitly implement all aspects of the algorithm, from preparing an initial state to generating a quantum solution and estimating properties of the system. In particular, we develop a new discrete representation for variable-coefficient PDEs on a grid that enables efficient implementation of the operator oracle, and build on a recent technique based on optimal wavelet preconditioning to generate a quantum solution with a cost independent of the condition number of the discretized operator. We show the algorithm can be implemented by quantum circuits of size polylogarithmic in both the number of grid points Ng and the inverse of the desired accuracy ε, with an overall gate cost polylogarithmic in Ng and quasilinear in 1/ε. We also show the classical preprocessing to construct the circuits has polylogarithmic cost in Ng and 1/ε. Our work provides a concrete end-to-end quantum algorithm for a PDE of practical value, demonstrates an exponential improvement in scaling with Ng over classical methods, and provides a foundation for assessing its potential quantum advantage in practice.
Related
- Fast quantum algorithm for differential equations
- Quantum algorithm for high-dimensional nonlinear stochastic differential equations based on Carleman linearization
- A provably efficient classical algorithm for simulating OTOC(1) in 1D
- qdmag: A Python package for simulating nonequilibrium magnetization of molecules using quantum master equations
- The Quantum Euclid Algorithm and its Application to Factoring
BibTeX
@misc{bagherimehrab2026endtoend,
title = {{End-to-End Quantum Algorithm for Differential Equations: Application to Simulating a Biomolecular System}},
author = {Mohsen Bagherimehrab and Daniyaal Farooqi and Gavin K. Brennen and Barry C. Sanders and Alán Aspuru-Guzik},
howpublished = {arXiv},
year = {2026},
month = nov,
doi = {10.48550/arxiv.2611.26582},
eprint = {2611.26582},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.26582},
note = {CC BY 4.0},
}
RIS
TY - UNPB
TI - End-to-End Quantum Algorithm for Differential Equations: Application to Simulating a Biomolecular System
AU - Mohsen Bagherimehrab
AU - Daniyaal Farooqi
AU - Gavin K. Brennen
AU - Barry C. Sanders
AU - Alán Aspuru-Guzik
PY - 2026
DA - 2026/11/19
PB - arXiv
DO - 10.48550/arxiv.2611.26582
UR - https://arxiv.org/abs/2611.26582
AB - Quantum algorithms for differential equations have the potential for substantial algorithmic speedups over classical methods. However, they rely on certain assumptions and abstract oracle specifications that leave their practical feasibility and computational advantages for realistic applications unclear. Here we formalize the concept of an end-to-end quantum algorithm for differential equations as one that accepts classical inputs and returns classical outputs, and provide implementations for algorithmic primitives in constructing such algorithms. We present a tailored end-to-end quantum algorithm for the linearized Poisson-Boltzmann (LPB) equation, a partial differential equation (PDE) with variable coefficients widely used in simulating a biomolecular system. We explicitly implement all aspects of the algorithm, from preparing an initial state to generating a quantum solution and estimating properties of the system. In particular, we develop a new discrete representation for variable-coefficient PDEs on a grid that enables efficient implementation of the operator oracle, and build on a recent technique based on optimal wavelet preconditioning to generate a quantum solution with a cost independent of the condition number of the discretized operator. We show the algorithm can be implemented by quantum circuits of size polylogarithmic in both the number of grid points N_g and the inverse of the desired accuracy ε, with an overall gate cost polylogarithmic in N_g and quasilinear in 1/ε. We also show the classical preprocessing to construct the circuits has polylogarithmic cost in N_g and 1/ε. Our work provides a concrete end-to-end quantum algorithm for a PDE of practical value, demonstrates an exponential improvement in scaling with N_g over classical methods, and provides a foundation for assessing its potential quantum advantage in practice.
ER -