QCPINN: Quantum-Classical Physics-Informed Neural Networks for Solving PDEs
Afrah Farea, Saiful Khan, Mustafa Serdar Celebi
TL;DR
QCPINN introduces a hybrid quantum–classical PINN framework to solve PDEs with dramatically fewer trainable parameters while maintaining competitive accuracy. The study analyzes both continuous-variable and discrete-variable quantum circuits as the core quantum layer, paired with classical pre-/post-processing, and evaluates multiple topologies and embeddings across five benchmark PDEs. DV-Circuit designs with Angle embedding, particularly Cascade and Cross-mesh topologies, achieve the strongest parameter efficiency and robust convergence, yielding substantial reductions in trainable parameters (often >70%) and notable improvements in some L2 errors (up to ~64% in convection-diffusion) compared to classical PINNs. CV-Circuit QCPINN, while offering theoretical advantages, faces stability challenges and generally underperforms DV variants under the tested conditions; overall, the work demonstrates parameter-efficient quantum enhancements for PDE solving and provides open-source tooling for reproducibility and further exploration.
Abstract
Physics-informed neural networks (PINNs) have emerged as promising methods for solving partial differential equations (PDEs) by embedding physical laws within neural architectures. However, these classical approaches often require a large number of parameters to achieve reasonable accuracy, particularly for complex PDEs. In this paper, we present a quantum-classical physics-informed neural network (QCPINN) that combines quantum and classical components, allowing us to solve PDEs with significantly fewer parameters while maintaining comparable accuracy and convergence to classical PINNs. We systematically evaluated two quantum circuit architectures across various configurations on five benchmark PDEs to identify optimal QCPINN designs. Our results demonstrate that the QCPINN achieves stable convergence and comparable accuracy while using only 10-30% of the trainable parameters required by classical PINNs. This approach also results in a significant reduction in the relative L_2 error for Helmholtz, Klein-Gordon, and Convection-diffusion equations, with a reduction ranging from 4% to 64% across various fields. These findings demonstrate the potential of parameter efficiency and solution accuracy in physics-informed machine learning, allowing for a substantial decrease in model complexity without compromising solution quality.QCPINN presents a promising pathway to address the computational challenges associated with solving PDEs.
