paper

Arbitrary Boundary Conditions and Constraints in Quantum Algorithms for Differential Equations via Penalty Projections

arXiv:2506.21751

Abstract

Complicated boundary conditions are essential to accurately describe phenomena arising in nature and engineering. Recently, the investigation of a potential speedup through quantum algorithms in simulating the governing ordinary and partial differential equations of such phenomena has gained increasing attention. We propose an approach to enforce arbitrary boundary conditions and constraints through adding a penalty projection to the governing equations, relying on known quantum differential equation solvers, leading to an overall efficient quantum algorithm for solving differential equations under boundary conditions and constraints. Assuming a fast-forwardable representation of the projection to ensure an efficient interaction picture simulation, the cost to enforce the constraints is at most in the strength of the penalty in the gate complexity within the scenarios we considered, for precision and a dynamical system generated by of size with forcing . E.g., for the heat equation, this leads roughly to a gate complexity overhead of . We show constraint error bounds for the penalty approach,both constraint and solution error, and provide validating numerical experiments, and estimate the circuit complexity using the Linear Combination of Hamiltonian Simulation.

arXiv comment30+17 pages, 10 figures