Quantum HHL Algorithm for Solving 1D Linear Advection Equation Using Explicit and Implicit Finite Difference Schemes
Abstract
This study develops and implements a Harrow-Hassidim-Lloyd (HHL) quantum algorithm for solving a one-dimensional linear advection equation with periodic boundary conditions. The governing equation is first discretized using a classical finite difference (FD) scheme to obtain a linear system suitable for quantum solution. We present a newly designed, circuit-level implementation of HHL assembled from Qiskit circuit components and exploit the circulant structure of the periodic discretization matrices through Fourier-based matrix evolution. The HHL algorithm is benchmarked with three explicit schemes and one implicit scheme. The implicit scheme requires a nontrivial linear solve arising from the discretized PDE on progressively finer grids, whereas the explicit schemes provide different input fields for testing state preparation and reconstruction with identity coefficient matrices. HHL solution states are validated against direct classical solves in noiseless simulation. For hardware execution, the periodic matrix structure permits a Fourier implementation that applies reciprocal eigenvalues without phase estimation. Results on the IBM Rensselaer Nighthawk processor are compared at a shared final time. Noiseless reconstructed fields approach the transported profile on resolved grids, while substantial hardware errors remain for both explicit and implicit schemes. Crank-Nicolson remains exceptionally well-conditioned and utilizes similar circuit re sources to the explicit controls, proving that hardware degradation in our tests was not driven by poor matrix conditioning. Ultimately, this study shows new means for HHL algorithms to study quantum CFD problems involving advection equations with implicit time integrations, while demonstrating how state preparation and measurement affect the practical performance of quantum solvers on current devices.
Create a lesson
Related papers
An Efficient Quantum Spectral-Galerkin Method for Linear Elliptic Equations
Shared title terminology · Dongjie Wang, Sheng Chen
Ghost tasking for parametrized Gaussian Processes solving linear differential equations
Shared title terminology · Johanna Moser, Christopher Albert, Sascha Ranftl
A Quantum Genetic Algorithm for Optimization of Benchmark Test Functions using Entangled Qutrits
Shared title terminology · Muhammad Farooq, Mehrosh Talat
Mesh Sensitivity of Different Boundary Treatments in High-Order Compact Gas-Kinetic Scheme for Hypersonic Heat-Flux Prediction
Shared title terminology · Xingyi Jiang, Jiawang Zhang, Junlei Mu et al.
Solving the Discretised Shallow Water Equations on Distorted Structured Grids with Neural Physics
Shared title terminology · Boyang Chen, Claire E. Heaney, Christopher C. Pain
Quantum simulation of dissipative acoustic and elastic waves by Schrödingerization: absorbing boundaries and explicit polynomial-size circuits
Shared title terminology · Hoang Anh Nguyen, Ali Tura