Implementing and Benchmarking Quantum Physics-Informed Neural Networks for Partial Differential Equations: Lessons Learned

This abstract has open access
Problem description and relevance

Physics-informed machine learning is increasingly used in applied scientific computing. Physics-informed neural networks (PINNs) [Raissi19] embed governing physical laws directly into the training objective or model structure, thus enabling the solution of partial differential equations (PDEs) without reliance on predefined meshes. By operating on scattered collocation points, PINNs offer flexibility in handling complex geometries, boundary conditions and inverse problems that are difficult to address with classical discretisation-based methods such as finite element or finite volume schemes.

Motivated by the expressive properties of parameterized quantum circuits (PQCs), several quantum extensions of PINNs, commonly referred to as quantum PINNs (QPINNs), have been proposed [Kyriienko21, Siegl25]. Although research on QPINNs has expanded, most evaluations have focused on simplified or reduced-scale PDE problems, largely due to the current limitations of quantum hardware and simulation capabilities.  Consequently, it remains challenging for applied researchers to assess the the practical significance, scalability and performance boundaries of QPINNs.

To address this gap, our work benchmarks QPINNs using a subset of PDEs from the PINNacle benchmark [Hao24], a widely used reference for evaluating classical PINNs. Rather than adapting the benchmark to quantum constraints, we evaluate QPINNs in the original benchmark setting. The objective is to characterize the current performance regime of QPINNs in applied contexts. We identify regimes in which QPINNs achieve performance comparable to classical models, as well as PDEs where performance degrades due to algorithmic, optimization or hardware limitations. Additionally, to advance the practical utility of QPINNs, we incorporate a range of enhancement strategies drawn from recent developments in both classical and quantum literature and demonstrate their effects on model performance.

Submission ID :
40
Submission Topics
Methodology :

We implement QPINNs using JAX for automatic differentiation and PennyLane for building quantum computation workflows. The methodology corresponds to standard physics-informed learning paradigm, where the model is trained to approximate a specified PDE by minimizing a loss composed of PDE residuals and constraint terms. Beginning with a vanilla QPINN architecture, we investigate the impact of several architectural and training-level modifications:

  • Frequency-aware encoding. Building on recent advancements in trainable embeddings for QPINNs [Berger25], we extend standard quantum feature maps by coupling the input encoding to a shallow classical feed-forward network that learns input-dependent scaling factors for the rotation angles. This mechanism enables adaptive representation of different frequency components of the target solution without increasing circuit depth or width and is therefore compatible with near-term hardware constraints. 
  • Adaptive loss reweighting via gradient-norm balancing. The multi-term loss function in (Q)PINNs is known to suffer from imbalance between competing physical constraints [Wang21]. To address this, we apply a GradNorm-based strategy, periodically computing the Euclidean norm of the gradient for each loss component with respect to all trainable parameters. The loss weights are then updated to equalize these gradient magnitudes, thereby stabilizing the optimization process and reducing the reliance on manual tuning.
  • Ensembles of parameterized quantum circuits. To increase the model expressivity without increasing circuit complexity, we utilize ensembles of shallow PQCs [Schuld18] trained sequentially and aggregated at the output level. Different aggregation strategies are evaluated to assess trade-offs between accuracy and training cost. 
  • Curriculum learning in time. For time-dependent PDEs, such as the Burgers equation, we implement a curriculum learning strategy that enforces causal training by gradually expanding the temporal domain during optimization [Krishnapriyan21]. 
  • Ansatz optimization. For selected PDE instances, we leverage genetic algorithms to optimize the quantum circuit structure in a manner that is both problem-specific and hardware-aware. This step is motivated by the limited quantum resources available and the necessity to explore circuit ansätze beyond manually crafted designs.
Practical demonstration :

The implemented model is evaluated on a representative subset of PDEs from the PINNacle benchmark, which cover nonlinear dynamics, multi-scale behavior and nontrivial boundary conditions. For each benchmark task, we present results on solution accuracy, convergence behaviour and computational resource consumption. To assess near-term feasibility, we additionally deploy selected QPINN configurations on real quantum hardware from IBM. These experiments are intended to illustrate practical constraints such as noise, circuit depth limitations and runtime overhead. 

The results demonstrate relative strengths and weaknesses of QPINNs and identify scenarios where quantum models achieve performance comparable to classical models, as well as regimes where their performance degrades due to limited expressivity, optimization difficulties or hardware constraints.  The analysis thus offers an explicit characterization of the problem settings where QPINNs are currently effective and those in which their applicability remains restricted, thereby informing future methodological research and discussion.

Application potential :

This work provides a reference point for the current state of QPINNs for solving PDEs. It offers applied researchers valuable insights into strategies to enhance the robustness and performance of QPINNs, including adaptations to accommodate practical constraints such as limited quantum hardware resources. By demonstrating such a benchmark overview, this work could enable the community to better understand existing approaches and to identify opportunities for future algorithmic advancements that could increase the practical impact of physics-informed quantum models. 

More generally, the ability to solve PDEs is foundational to modern simulation workflows across industrial sectors such as aerospace, automotive engineering, energy systems, process engineering and environmental modelling. In this broader context, the insights gained from this study contribute to the ongoing assessment of quantum machine learning methods as integral components of simulation pipelines for both scientific and industrial applications.

Associated Sessions

Researcher
,
Fraunhofer FOKUS
Volkswagen Group Innovation
PhD student
,
Volkswagen AG, TU Braunschweig
Senior researcher
,
Volkswagen AG
12 visits