Fewer Parameters, Longer Runtimes: The Wall-Clock Cost of Hybrid Quantum Physics-Informed Neural Networks
Abstract
While hybrid quantum-classical physics-informed neural networks (QCPINNs) are often described as efficient because they have fewer trainable parameters than classical PINNs, parameter count does not measure wall-clock cost. To examine this gap on a one-dimensional seawater temperature diffusion benchmark, with the quantum circuits simulated on a CPU, we time the four cumulative stages a PINN needs (the forward pass, the first- and second-order input gradients, and the PDE-loss parameter gradient) for a classical PINN, four hybrid configurations that differ in qubit count and circuit depth, and size-matched classical controls that share the hybrids' classical layers. We find that the hybrids are 14-56x slower than the classical PINN for the forward pass and 10-97x slower for the PDE-loss parameter gradient, and even against the size-matched controls, they remain 9-85x slower. Further, over the tested ranges, runtime increased approximately exponentially with qubit count, approximately linearly with circuit depth, and sub-linearly with batch size, while for the circuit-only forward pass, a second simulator backend was 10-165x slower under the same calling pattern. Although the hybrids have 38-44% fewer parameters than the classical PINN, this reduction comes from their smaller classical layers, as the quantum circuit accounts for at most 2.5% of each hybrid's parameters. Yet parameter count failed to predict runtime even among the classical networks, since the size-matched controls, despite having fewer parameters than the classical PINN, run slower than it. Our conclusion is that fewer parameters did not mean lower cost: every hybrid took at least ten times longer than the classical PINN at every stage, and the gap grew quickly with the number of qubits.
Create a lesson
Metadata
- Categories
- quant-ph, physics.comp-ph
- Comments
- 20 pages, 4 figures, 14 tables
Related papers
Theory-Informed Quantum Error Mitigation for Shor Order Finding with Fourier Neural Operators
Shared title terminologyquant-phStefano Markidis, Qingxin Yang, Erik Åsgrim et al.
Exponential Analysis for Trace-Distance Errors in Quantum Information Theory
Shared title terminologyquant-phHao-Chung Cheng, Li Gao, Shi-Bing Li et al.
Cross-chip transfer in quantum photonic neural networks
Shared title terminologyquant-phIqra Bashir, Bikash K. Behera, Qi Qin et al.
A Realistic End-to-End Runtime Crossover Estimation for Quantum-Enhanced Training of Large-Scale Machine Learning Models
Shared title terminologyquant-phMaximilian Alexander Wolf, Alona Sakhnenko, Florian Geissler et al.
Chiral Domain-Wall Modes in Topological Adaptive Quantum Dynamics
Shared title terminologyquant-phAsadullah Bhuiyan, Haining Pan, Chao-Ming Jian
Quditology: harnessing many levels for quantum information processing
Shared title terminologyquant-phAbhijit Chakraborty, Zheng Shi, Noah Goss et al.