arXiv:2610.01777quant-phOct 2026

Manuscript Offprint

arXiv:2610.01777

QUFIG: GNN-Based Prediction of Quantum Fault Injection Vulnerabilities with Gate-Level Precision

Shihan Zhao, Qiying Li, Ben Dong, Qian Wang, Yuntao Liu

Shihan Zhao*, Qiying Li†, Ben Dong‡, Qian Wang‡, Yuntao Liu†

*Department of Electrical & Computer Engineering, Northeastern University, MA, USA

†Department of Electrical & Computer Engineering, Lehigh University, PA, USA

‡Department of Electrical Engineering, University of California, Merced, CA, USA

*zhao.shiha@northeastern.edu, †{qil420, yule24}@lehigh.edu, ‡{cdong12, qianwang}@ucmerced.edu

Abstract—The growing scale and accessibility of quantum hardware exposed new reliability and security challenges in the quantum computing workflow, such as the run-time fault injection attacks in cloud-based quantum computing platforms. However, existing works fail to identify vulnerabilities with gate-level precision or adapt to run-time environments. In this work, we formulate gate-level fault analysis as a learning-guided prioritization problem under restricted fidelity budgets. The framework uses a circuit-DAG-based GNN backbone to predict the vulnerability score of each gate to each type of injected fault, defined as the impact of the gate-fault pair on circuit fidelity. The gate-fault pairs are then ranked by their vulnerability score. Experiments on QASMbench and HamLib MaxCut show that QuFIG recovers high-impact vulnerable gate-fault pairs with fewer inspections than random and depth-based heuristics. Our results show that QuFIG can reduce the number of gates requiring inspection by 2.9–19.8% while maintaining effective fault identification, allowing quantum circuit designers to identify vulnerabilities and apply targeted defenses more efficiently.

I. INTRODUCTION

The rapid evolution of quantum hardware has enabled increasingly large near-term workloads, including variational quantum algorithms (VQAs), quantum chemistry [1], drug discovery [2], high-energy physics [3], and quantum machine learning [4]. As quantum processors continue to scale, they can execute larger and more complex quantum circuits. However, because quantum hardware must operate in specialized cryogenic environments, it is typically accessed through cloud services rather than deployed locally. This reliance on remotely managed hardware introduces security and trust challenges.

Cloud platforms such as IBM Quantum [5], Amazon Braket [6], and Microsoft Azure Quantum [7] compile and execute remotely submitted circuits. As illustrated in Fig. 1, compilation involves mapping, routing, decomposition, optimization, scheduling, and control before measurement. This managed workflow introduces security and trust risks when intermediate compilation or execution stages are compromised.

The quantum-computing workflow remains exposed to security and reliability risks across these stages. Existing studies mainly address higher-level vulnerabilities, including crosstalk-aware mapping and scheduling [8], [9], IP protection through obfuscated compilation [10], [11], [12], and quantum trusted execution environments for workload isolation [13]. However, these efforts largely overlook the gate level, where quantum programs are decomposed and synthesized into

Figure

Fig. 1: An overview of the quantum-circuit vulnerability prediction framework, which uses a GNN to identify potentially vulnerable gates.

device-native gates before execution. A compromised decomposition or synthesis pipeline may inject or modify gates, causing fidelity degradation, energy-expectation shifts, or model-level mispredictions [14], [15], [16], [17]. Thus, existing system-level defenses do not fully capture gate-level risks that directly threaten the physical integrity and measurement result.

A directed exhaustive gate-level fault analysis provides fine-grained vulnerability information by systematically injecting faults into individual gates according to a predefined fault model. The impact of each fault is then quantified by measuring the resulting fidelity loss or application-level output deviation. Yet the complexity of this fine-grained analysis scales with the number of gates, fault types, circuits, and measurement shots, making it prohibitively expensive for large benchmarks. This suggests that gate-level quantum fault analysis should be performed selectively rather than exhaustively. Classical circuit testing follows a similar idea by using test points and observation points. Instead of monitoring every internal node, a small number of carefully chosen points are added to improve fault detection and diagnosis [18], [19]. Although quantum circuits do not support classical test points in the same physical sense, gate-level quantum fault analysis faces a closely related selection challenge: only a limited subset of gate-fault pairs contributes substantially to output degradation, while many faults remain weakly observable at the final measurement.

Based on this insight, we solve this problem by using graph learning-guided fault injection sensitivity analysis. For a compiled quantum circuit and a set of candidate NISQ fault types, we present the framework QuFIG to rank gate-fault pairs by their predicted impact on circuit fidelity and output quality. The top-ranked candidates are then selected for fault injection or security auditing under a fixed evaluation budget. In this way, the proposed method bridges fast backend-level simulation and precise gate-level fault analysis. We summarize our contributions as follows:

• We formulate gate-level quantum fault analysis as a learning guided fault impact ranking problem, aiming to identify high-impact gate-fault pairs without exhaustive simulation.

• We define a structured NISQ fault model covering stochastic decoherence faults, Pauli-type faults, and aggregate stochastic fault, and quantify fault impact using fidelity loss and application-level output deviation.

• We develop a graph-based prediction framework QuFIG that operates on compiled quantum circuit DAGs and ranks candidate gate-fault pairs for detailed simulation, mitigation, or security auditing.

• We evaluate QuFIG under a budgeted vulnerable gate recovery setting on QASMbench and HamLib MaxCut circuits. At the top-16% vulnerable-gate recovery target, QuFIG reduces gate-inspection cost by 6.9%–19.8% relative to random selection and by 2.9%–18.8% relative to depth-based traversal. For the top-20% vulnerable gates on QASMbench, QuFIG further reduces the inspection cost by 9.9% relative to random selection.

References (27)