arXiv:2611.26582
End-to-End Quantum Algorithm for Differential Equations: Application to Simulating a Biomolecular System
Mohsen Bagherimehrab, Daniyaal Farooqi, Gavin K. Brennen, Barry C. Sanders, Alán Aspuru-Guzik
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 $N_g$ and the inverse of the desired accuracy $\varepsilon$, with an overall gate cost polylogarithmic in $N_g$ and quasilinear in $1/\varepsilon$. We also show the classical preprocessing to construct the circuits has polylogarithmic cost in $N_g$ and $1/\varepsilon$. 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.
AI Summary
Quantum PDE solvers often assume efficient input oracles and return quantum states, leaving state preparation, operator implementation, preconditioning, and classical readout outside their complexity analysis. This paper constructs these components for the three-dimensional linearized Poisson–Boltzmann equation, starting from atomic positions, partial charges, radii, and solvent parameters and returning estimates of solution properties, including electrostatic and solvation free energies. The construction represents the variable-coefficient operator using staggered-grid derivatives and diagonal coefficient matrices. Molecular-cavity membership tests implement the coefficients, while charge distributions over neighboring grid points determine the input state. Building on an existing wavelet-preconditioned solver, it constructs a block encoding of the preconditioned operator with logarithmic normalization by exploiting multiscale structure. For fixed atom count and $N$ grid points per dimension, writing $n=\log_2N$, the reported gate cost for preparing a distributed quantum solution is $O(n^4\log^4(n/\varepsilon))$. Property estimation using amplitude estimation gives total gate cost $O(n^4\varepsilon^{-1}\log^4(n/\varepsilon)\log(1/\delta))$ for failure probability $\delta$. Hadamard-test readout retains polylogarithmic circuit size but requires $O(\varepsilon^{-2}\log(1/\delta))$ runs. Classical circuit preprocessing is also polylogarithmic in grid size and inverse accuracy for fixed atom count. The accuracy parameter concerns the discretized problem and excludes spatial-discretization error. Input preparation assumes disjoint charge-assignment supports, obtainable by grid refinement. The classical comparison is with methods explicitly computing the solution vector. Concrete molecular resource estimates, constant factors, hardware implementation, and practical crossover points remain unresolved.
AI tools were used to polish the writing, find counterexamples to ideas of the authors
Error found: The displayed variable-coefficient block encoding produces a sum-of-shifts operator rather than the required difference-of-shifts diffusion operator, although a constant-overhead change to the control preparation or projection phases repairs it. The claimed exponential grid-size advantage is supported by comparison with a classical full-solution solver, not with classical algorithms returning the same selected properties as the quantum algorithm.
Written by gpt-6.1-sol from the paper's full text. Automated: it can be wrong.
- Comments
- 61 pages, 11 figures, 3 tables