A Quantum Spectral Method for Non-Periodic Boundary Value Problems
Eky Febrianto, Yiren Wang, Burigede Liu, Michael Ortiz, Fehmi Cirak
TL;DR
The paper develops a quantum spectral solver for non-periodic Dirichlet boundary value problems on axis-aligned hyperrectangles, achieving polylogarithmic complexity in the problem size by encoding forcing and solution vectors into quantum states and performing the diagonal inverse in Fourier space via a polynomial-encoded operator. It rigorously handles homogeneous Dirichlet BCs through antisymmetric domain doubling and enforces inhomogeneous BCs via superposition with a boundary-conforming function, while replacing the classical DST with a quantum sine transform derived from a unitary reflection. The authors demonstrate the method on Dirichlet-Poisson problems and fractional stochastic PDEs in 1D and 2D, with numerical evidence of polylogarithmic gate counts and controllable accuracy through polynomial degree and domain partitioning. They also discuss circuit-level implementations, scalability considerations, and potential extensions such as approximate QFT and QSVT, highlighting the method’s suitability for structured, well-conditioned problems and stochastic simulations where repeated solves are required.
Abstract
Quantum computing holds the promise of solving computational mechanics problems in polylogarithmic time, meaning computational time scales as $\mathscr{O}((\log N)^c)$, where $N$ is the problem size and $c$ a constant. We propose a quantum spectral method with polylogarithmic complexity for solving non-periodic boundary value problems with arbitrary Dirichlet boundary conditions. Our method extends the recently proposed approach by Liu et al. (2025), in which periodic problems are discretised using truncated Fourier series. In such spectral methods, the discretisation of boundary value problems with constant coefficients leads to a set of algebraic equations in the Fourier space. We implement the respective diagonal solution operator by first approximating it with a polynomial and then quantum encoding the polynomial. The mapping between the physical and Fourier spaces is accomplished using the quantum Fourier transform (QFT). To impose zero Dirichlet boundary conditions, we double the domain size and reflect all physical fields antisymmetrically. The respective reflection matrix defines the quantum sine transform (QST) by pre- and post-multiplying with the QFT. For non-zero Dirichlet boundary conditions, the solution is decomposed into a boundary-conforming and a homogeneous part. The homogenous part is determined by solving a problem with a suitably modified forcing vector. We illustrate the basic approach with a Dirichlet-Poisson problem and demonstrate its generality by applying it to a fractional stochastic PDE for modelling spatial random fields. We discuss the circuit implementation of the proposed approach and provide numerical evidence confirming its polylogarithmic complexity.
