Leyan Lyu and Shabnam Jabeen of the University of Maryland discovered that hybrid quantum-classical physics-informed neural networks (QCPINNs) were 14 to 56 times slower than their classical counterparts when applied to a seawater temperature diffusion benchmark. Despite often being touted for efficiency due to fewer trainable parameters, the researchers found that parameter count does not accurately reflect computational cost.
Their work demonstrates that every hybrid network tested took at least ten times longer than the classical PINN at each stage, with the performance gap widening as qubit numbers increased. The team concludes that “fewer parameters did not mean lower cost.”
Hybrid QCPINNs vs Classical PINNs: Wall-Clock Cost Analysis
This discrepancy emerged from a study examining a one-dimensional seawater temperature diffusion problem, which was simulated using a CPU, and highlights that parameter count alone is an insufficient metric for evaluating computational efficiency. Researchers timed four cumulative stages of a PINN, the forward pass, first- and second-order input gradients and the PDE-loss parameter gradient, for both classical and hybrid configurations, alongside size-matched classical controls sharing the same classical layers.
This finding challenges the assumption that a reduced parameter space automatically translates to faster computation, as the hybrid networks consistently lagged behind their classical counterparts in terms of wall-clock time. The hybrids were 10-97 times slower than the classical PINN for the PDE-loss parameter gradient, and even against the size-matched controls, they remained 9-85 times slower.
Further analysis revealed that runtime increased approximately exponentially with qubit count, linearly with circuit depth, and sub-linearly with batch size, indicating a complex relationship between these variables and computational cost. A second simulator backend used for the circuit-only forward pass proved even slower, exhibiting a 10 to 165 times increase in runtime under the same calling pattern, suggesting a performance bottleneck within the quantum circuit simulation itself.
One-Dimensional Seawater Temperature Diffusion Benchmark Setup
The benchmark, derived from the vertical diffusion of seawater temperature, used Dirichlet, Neumann and Robin boundary conditions, with closed-form solutions existing for each type. This setup allows for fast, differentiable surrogates potentially applicable to energy-aware control of engineered water bodies, where inexpensive temperature and gradient modeling could optimize heating, circulation, or shading. The study’s focus on derivative evaluation, specifically calculating the second-order input gradient, highlighted a computationally intensive step involving double backpropagation, a process of differentiating through a gradient.
This process is critical for accurately modeling the diffusion term within the seawater temperature equation. Researchers acknowledge that this study employed a single one-dimensional PDE, CPU-only simulation and one circuit design, and that quantum hardware introduces different costs related to derivative evaluation and finite-shot measurement, which were not quantified in this work. The team ran training with a single seed on a non-reserved machine, making end-to-end training times indicative only.
Qubit Count, Circuit Depth, and Runtime Scaling
Runtime scaled non-linearly with key quantum circuit characteristics, according to a new analysis of hybrid quantum-classical physics-informed neural networks (QCPINNs). These findings challenge the assumption that reducing parameters automatically translates to faster computation in hybrid quantum-classical machine learning. Specifically, the circuit-only forward pass using one simulator backend was 10.3 to 165.3 times slower than with a different backend under identical conditions, highlighting a significant performance bottleneck within the quantum simulation itself.
The study benchmarked four hybrid configurations, narrow, hybrid-4q, wide and deep, varying qubit count and circuit depth while maintaining shared classical layers with a size-matched control. Even when compared to the size-matched classical controls, the hybrid networks remained 9 to 85 times slower, demonstrating that parameter reduction alone does not guarantee a reduction in wall-clock cost.
The researchers conclude, emphasizing the importance of considering the complete computational pipeline when evaluating hybrid approaches. The team’s analysis focused on a one-dimensional problem and CPU-only simulations, acknowledging limitations in extrapolating these results to more complex scenarios or hardware acceleration.
QCPINN Parameter Reduction: Classical Layer Dominance
Classical layers dominate computational cost in hybrid quantum-classical physics-informed neural networks, according to new benchmarks. Despite employing 38-44% fewer parameters than a classical PINN, hybrid networks still require significantly more time to compute solutions, a finding that challenges assumptions about the efficiency gains from reduced parameter counts. The quantum circuit accounts for at most 2.5% of each hybrid’s parameters.
Stage-Wise Timing of PINN Computations: Forward Pass & Gradients
Detailed timing of individual computational stages revealed substantial performance differences between hybrid and classical physics-informed neural networks. This slowdown occurred despite the hybrid networks using fewer trainable parameters, a characteristic often touted as a benefit of quantum-classical approaches.
The performance disparity extends to the quantum circuit simulation itself, suggesting a significant bottleneck resides within the quantum simulation process, independent of the broader neural network architecture. The work demonstrates that a reduction in parameters does not automatically translate to faster execution times, and that the overhead associated with quantum simulation can outweigh the benefits of a smaller classical network.
Performance Comparison: Hybrid vs Size-Matched Classical Controls
Comparing hybrid quantum-classical physics-informed neural networks (QCPINNs) to classical counterparts reveals that matching parameter counts does not guarantee similar execution speeds. Results demonstrate that the hybrids were 9-85 times slower than these size-matched controls, despite the hybrid networks having fewer total 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.
Impact of Simulator Backend on Quantum Circuit Evaluation
Runtime scaled non-linearly with key quantum characteristics, with increases approximately exponential with qubit count and linear with circuit depth, according to the work. Batch size had a sub-linear effect on runtime, indicating that increasing the number of data points processed simultaneously offered diminishing returns in speed.
The study acknowledges limitations including the use of a single PDE, a CPU-only machine, and a single circuit design, emphasizing that these results are indicative rather than definitive. The work emphasizes that obtaining gradients on quantum hardware presents unique challenges, as storing and reusing intermediate quantum states or derivatives is not straightforward.
Training Dynamics: Per-Evaluation Cost and Optimizer Choice
Detailed timing of computational stages revealed that the cost of a full training step extends beyond the parameter gradient calculation, encompassing the forward pass, first-order input gradients and second-order input gradients. A single-seed training check, performed across six scenarios using one partial differential equation, demonstrated how per-evaluation cost influenced the selection of the optimizer during the training process. The analysis focused on a one-dimensional seawater temperature diffusion benchmark, evaluating a classical physics-informed neural network alongside four hybrid quantum-classical configurations and size-matched classical controls sharing identical classical layers.
The timing of these four cumulative computations showed significant differences between the approaches. These estimates, while covering only the PDE-loss parameter gradient computation and excluding other loss terms and optimizer updates, highlight a substantial performance gap. A breakdown of parameter counts confirmed that the tested models’ parameter numbers did not correlate with their actual wall-clock costs.
The variational circuits employed in the hybrid networks consist of an encoding stage that translates classical numbers into gate angles, followed by layers of single-qubit rotations and entangling gates. The second-order input gradient stage represents the computational expense of verifying whether a prediction satisfies the governing equation, and backpropagation through this stage, to the network’s weights, provides the PDE-loss gradient used during training. Therefore, the total cost of a full training step is somewhat greater than that of param_grad, emphasizing the cumulative nature of the computational burden.
👉 More information
🗞 Fewer Parameters, Longer Runtimes: The Wall-Clock Cost of Hybrid Quantum Physics-Informed Neural Networks
✍️ Leyan Lyu and Shabnam Jabeen (Department of Physics, University of Maryland, College Park, MD, U.S.A.)
🧠 ArXiv: https://arxiv.org/abs/2611.34755v1




See today’s quantum computing news on Quantum Zeitgeist for the latest breakthroughs in qubits, hardware, algorithms, and industry deals.
