Closing the Loop: Resource-aware Hybrid NAS Guided by Analytical and Hardware-Calibrated Quantum Cost Modeling
Muhammad Kashif, Alberto Marchisio, Muhammad Shafique · 2026
Read Closing the Loop: Resource-aware Hybrid NAS Guided by Analytical and Hardware-Calibrated Quantum Cost Modeling by Muhammad Kashif, Alberto Marchisio, Muhammad Shafique (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-00625.txt.
Introduction
Kashif, Marchisio, and Shafique close the cost estimation loop for hybrid quantum classical neural networks, where flop counts and gate counts miss gate durations, connectivity limits, and noise. Their analytical quantum cost model prices hardware resources from real backend calibration data, including durations, routing overheads, and noise driven sampling waste. A classical cost model converts flops into device specific throughput, giving one time based cost language for both halves. The paired models guide resource aware neural architecture search for hybrid networks.
Catalog record
| CREATOR | Muhammad Kashif, Alberto Marchisio, Muhammad Shafique |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 38992 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2603.00625
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Closing the Loop: Resource-aware Hybrid NAS Guided by Analytical and Hardware-Calibrated Quantum Cost Modeling Muhammad Kashif, Alberto Marchisio, Muhammad Shafique Abstract . Hybrid quantum–classical neural networks (HQNNs) integrate quantum circuits with classical layers, each operating under fundamentally different computational paradigm, which makes hardware-resource estimation challenging. Also, the training of quantum circuits on real devices requires thousands of circuit executions, which is impractical on current NISQ devices. Therefore, most HQNNs are evaluated on classical simulators, with hardware cost approximated using floating-point operations (FLOPs). However, FLOPs and existing quantum resource estimation methods (e.g., gate counts) overlook key quantum hardware-specific factors such as gate durations, limited qubit connectivity, and noise, all of which ultimately determine the true cost and scalability of quantum circuits. In this paper, we propose an analytical quantum cost model that estimates quantum hardware resources using real backend calibration data, incorporating gate durations, routing overheads, and noise-induced sampling inefficiencies. To complement this, we develop a classical cost model that converts FLOPs into device-specific throughput, enabling a unified time-based representation of hardware-resource cost for both subsystems of HQNNs. Building on these analytical models, we present Hyb-HANAS, a hardware-aware hybrid neural architecture search framework, which jointly optimizes accuracy, hardware cost, and parameter count using NSGA-II. Hyb-HANAS identifies Pareto-optimal trade-offs and cross-domain co-adaptation between classical and quantum components of HQNNs. Beyond NAS, the proposed quantum analytical cost model is broadly applicable to quantum hardware benchmarking, compiler evaluation, and training-time estimation of quantum circuits on NISQ devices. 1. Introduction In classical neural networks (NNs), hardware resource-aware neural architecture search (HANAS), frequently uses floating-point operations (FLOPs) to estimate computational resources ( 24 ; 2 ) . FLOPs provide a hardware-agnostic proxy for the arithmetic complexity, making them a convenient surrogate for runtime and energy consumption across different devices ( 20 ) . By penalizing architectures with excessive FLOPs, HANAS frameworks identify Pareto-optimal models that balance accuracy and computational cost. While effective for classical NNs and recently extended to HQNNs ( 11 ; 10 ) , these FLOPs-based metrics are fundamentally inadequate for hybrid quantum-classical neural networks (HQNNs), where computations span both classical and quantum layers (Fig. 1 -top). Quantum operations are not tensor computations, and their hardware cost depends on quantum-specific factors, such as qubit connectivity, noise, and decoherence. Quantum circuits are executed on dedicated qubit simulators, which are invisible to standard FLOPs profiling tools. Consequently, FLOPs-based profiling treats quantum layers as a black box and significantly underestimates the true computational footprint of HQNNs. This disconnect breaks the feedback loop between architecture design and actual hardware cost. Closing this loop requires embedding a hardware-calibrated quantum cost model within the hardware cost-estimation process, linking high-level architectural designs with the physical constraints of quantum devices. State-of-the-art on quantum hardware resource estimation is largely underexplored. The closest is the recent ML-based quantum runtime predictor ( 16 ) , which trains an ML model on \approx 1500 quantum circuit execution times to predict new circuit runtimes. However, this is effectively a learned surrogate for Qiskit’s scheduler ( 8 ) , as the runtime of a quantum circuit is mainly governed by physical gate-execution windows. These methods only model raw gate timing, ignoring the statistical impact of gate errors and noise, which mainly increases the unreliability in results (more details in Section 2.4 ). Additionally, from QML perspective, factors such as gradient evaluation overhead are also ignored in these models. Our analytical cost model combines calibrated gate-level timing with noise-induced sampling overhead and gradient costs (for QML algorithms), providing a realistic estimate of training latency rather than just circuit runtime. From NAS perspective, existing work focuses mainly on accuracy optimization, occasionally including abstract quantum hardware metrics like gate count and circuit depth ( 25 ; 4 ; 13 ; 12 ; 5 ) . These methods typically target ideal simulators without physical device calibration data and fail to combine quantum and classical hardware costs, which is critical for HQNNs or hybrid models in general. In this paper, we integrate a hardware-calibrated quantum cost model with an aligned classical cost model into a unified time-based cost metric for multi-objective hybrid NAS. 1.1. Motivational Analysis Figure 1. (Top) An abstract illustration of HQNN. (bottom) FLOPs, parameter count, and wall-clock time (averaged over 5 runs) comparison of quantum circuits for different depths and qubit counts on two different backend quantum simulators. Since the FLOPs are in the order of thousands compared to the parameters in the order of hundreds, the parameter count is scaled by 50 for better visualization. To demonstrate FLOPs limitation in HQNNs, we implemented a simple HQNN with fixed classical layers interleaved with quantum layers (angle embedding ( 9 ) + strongly entangling layer ( 22 ) ) in PennyLane ( 23 ) . We measured FLOPs for two different qubit simulators: (1) default.qubit , a Python-based state-vector backend ( 3 ) , and (2) lightning.qubit , an optimized C++/CUDA simulator ( 14 ) . With default.qubit , the measured FLOPs consistently increase with circuit depth and qubit count (Fig. 1 -bottom), as quantum simulation is implemented as PyTorch tensor operations, which are visible to the FLOPs profiler. However, this effectively makes the FLOPs reflect the classical simulation overhead rather than the true quantum cost, as used in ( 11 ; 10 ) . In contrast, lightning.qubit performs its computations inside optimized external kernels that are external to PyTorch’s computation graph, resulting in constant FLOPs across different circuit sizes, even though the actual quantum simulation cost increases, and therefore the run time increases, despite constant FLOPs, indicating that FLOPs alone fail to reflect the actual computational cost of HQNNs. This discrepancy is even more pronounced on real hardware, as quantum circuits are completely offloaded to the hardware backend, and contribute zero FLOPs. Although the parameter count grows with circuit size, it can also be misleading, because standard parameter counters only count single-qubit rotation gates as parameters and ignore entangling gates, which dominate both expressibility and hardware cost. Hence, parameter count is also insufficient as a proxy for the computational cost of quantum layers in HQNNs. Similarly, from HANAS perspective, when classical layers are fixed and only the quantum layer varies, FLOPs vs. accuracy collapses into a vertical line (Fig. 2 , left), with an uninformative Pareto front, mainly because quantum layers add no FLOPs. On the other hand, standard profiling tools count quantum layer’s trainable parameters in total count, primarily from single-qubit gates, thus resulting in a more distributed set of architectures and a relatively meaningful Pareto front (Fig. 2 , right). In summary, FLOPs-based hardware-resource estimation for quantum layers, at best, serve as a proxy for classical simulation overhead (in certain qubit simulators), not for the true computational footprint on quantum hardware. In the context of HANAS for HQNNs, relying solely on FLOPs can lead to misleading conclusions, as architectures may appear efficient in terms of FLOPs but are impractical on real quantum devices. To make HANAS meaningful for HQNNs, the hardware cost model must reflect both classical and quantum components of the hybrid stack. This requires a unified cost metric that integrates quantum hardware–aware costs for quantum layers with classical cost metrics for classical layers, providing a consistent and realistic measure of the total computational workload. Such a