The rapid expansion of the Internet of Things in critical industrial environments has significantly increased the attack surface, exposing systems to sophisticated cyber threats. Traditional pattern-based intrusion detection systems struggle to detect such advanced attacks, while deep learning approaches, despite achieving high detection accuracy, often suffer from high computational cost and latency, limiting their deployment in resource-constrained edge gateways. Quantum machine learning offers a promising alternative by enabling high-dimensional feature representation; however, current implementations are constrained by hardware noise, limited qubit availability and backend-dependent execution characteristics in the Noisy Intermediate-Scale Quantum era. To address these challenges, this paper proposes a Residual Hybrid Quantum-Classical Neural Network (RHQ-CNN) for efficient intrusion detection in Edge-Industrial Internet of Things (Edge-IIoT) environments under idealized quantum simulation conditions. The proposed framework employs a classical neural network encoder to compress high-dimensional network traffic into a compact latent representation suitable for quantum processing. A variational quantum circuit with serial data re-uploading is then utilised to model complex non-linear decision boundaries without increasing qubit requirements. In addition, a residual connection fuses classical and quantum representations to improve training stability and preserve latent feature information. The model is evaluated on the Edge-IIoTset dataset and achieves a test accuracy of 99.94%, with high weighted performance across the 15-class detection task, although the extremely low-sample Fingerprinting class remains comparatively more challenging. Additional controlled ablation, deployment-cost, and bootstrap confidence interval analyses demonstrate the test-set metric stability and computational trade-offs of the proposed architecture. These findings highlight the potential of hybrid quantum-classical models for next-generation cybersecurity in industrial IoT systems.
The rapid expansion of the Internet of Things in critical industrial environments has significantly increased the attack surface, exposing systems to sophisticated cyber threats. Traditional pattern-based intrusion detection systems struggle to detect such advanced attacks, while deep learning approaches, despite achieving high detection accuracy, often suffer from high computational cost and latency, limiting their deployment in resource-constrained edge gateways. Quantum machine learning offers a promising alternative by enabling high-dimensional feature representation; however, current implementations are constrained by hardware noise, limited qubit availability and backend-dependent execution characteristics in the Noisy Intermediate-Scale Quantum era. To address these challenges, this paper proposes a Residual Hybrid Quantum-Classical Neural Network (RHQ-CNN) for efficient intrusion detection in Edge-Industrial Internet of Things (Edge-IIoT) environments under idealized quantum simulation conditions. The proposed framework employs a classical neural network encoder to compress high-dimensional network traffic into a compact latent representation suitable for quantum processing. A variational quantum circuit with serial data re-uploading is then utilised to model complex non-linear decision boundaries without increasing qubit requirements. In addition, a residual connection fuses classical and quantum representations to improve training stability and preserve latent feature information. The model is evaluated on the Edge-IIoTset dataset and achieves a test accuracy of 99.94%, with high weighted performance across the 15-class detection task, although the extremely low-sample Fingerprinting class remains comparatively more challenging. Additional controlled ablation, deployment-cost, and bootstrap confidence interval analyses demonstrate the test-set metric stability and computational trade-offs of the proposed architecture. These findings highlight the potential of hybrid quantum-classical models for next-generation cybersecurity in industrial IoT systems.
Weaknesses arising from heterogeneous device structure, high-dimensional traffic patterns, and more complex nonlinear attack behaviors. The traditional intrusion detection systems (IDS), which rely on the classical machine learning models, often face the challenges of scalability, feature explosion, and low representational ability when handling large-scale IoT traffic data. To meet these challenges, we propose a Hybrid Quantum-Classical Variational Neural Network (HQCVNN) for effective intrusion detection in IoT systems. The model utilizes a Variational Quantum Circuit (VQC) as a nonlinear quantum feature map followed by dense neural layers for overall classification. Angle embedding with entanglement layers enables the encoding of quantum data and leads to a better separability of features in high-dimensional space, whilst the classical optimization guarantees efficient training on NISQ time scales. The model is implemented using Qiskit and evaluated on classical benchmark intrusion detection datasets. Experimental results show the proposed method has better classification accuracy, F1-score, and complexity reduction than conventional ANNs and SVMs. The results demonstrate the promise of hybrid quantum machine learning systems with end-to-end general-purpose capabilities in future IoT security and provide pragmatic impressions on how to deploy them on near-term quantum processors.
Quantum Neural Network (QNN) provides an exciting alternative to machine learning as they take advantage of quantum computer properties when making decisions and processing data. However, the integration of high-dimensional classical data with the limited number of qubits available on current Noisy Intermediate-Scale Quantum computers presents a major difficulty. This paper presents a complete hybrid quantum-classical architecture in Qiskit that utilizes the Network Security Laboratory-Knowledge Discovery and Data Mining (NSL-KDD) dataset to classify network intrusions among multiple classes. In order to work around the exponential cost of computations and reduce the number of times quantum circuits need to be run due to hardware limitations, a subset of the dataset will be created to use during both training and testing. The architecture proposed in this paper uses a four-qubit Variational Quantum Circuit (VQC). First, a classical feature vector is used to create a quantum Hilbert space via a ZZFeatureMap, which initializes the qubits via a Hadamard transformation followed by phase rotation gates that create controlled-entanglement between pairs of features. The quantum states are then passed through a RealAmplitudes variational circuit, while the classical layer optimizes the parameters using the Constrained Optimization BY Linear Approximations (COBYLA) algorithm. The overall accuracy of the model when tested on five classes of intrusion detection results in an accuracy level of 59%, with very strong classification accuracies for both Denial of Service (DoS) and User-to-Root (U2R) attacks as demonstrated by their F1 scores. The proposed QNN achieves a highly competitive baseline of 86% accuracy and 86% recall in specific configurations. These results underscore the potential of shallow, lower-complexity QNN architectures as an emergent tool for cybersecurity in the quantum era.
This survey examines quantum-enhanced machine learning techniques for intrusion detection in Internet of Things (IoT) and fog environments, synthesizing recent work on hybrid quantum-classical models, quantum convolutional neural networks (QCNNs), quantum support vector machines (QSVMs), and quantum-assisted clustering.We review five recent primary studies that apply quantum methods to IoT security, summarize their methodological choices (encoding, circuit ansatz, classical-quantum interfaces), and evaluate reported benefits and limitations with respect to accuracy, computational cost, and deployability in resource-constrained settings.The literature indicates potential gains in feature expressivity and false-negative reduction from quantum encodings and variational circuits, but practical barriers remain: limited qubit counts, noisy hardware, encoding overhead, and scarce real-world deployment studies.We identify concrete research gaps and propose directions for lightweight encodings, noise-aware hybrid architectures, federated quantum-assisted Intrusion Detection System (IDS), and standardized benchmarks for reproducible evaluation.The survey aims to guide researchers and practitioners toward scalable, explainable, and deployable quantum-enhanced intrusion detection for IoT.
Intrusion Detection Systems (IDSs) are a cornerstone of modern cybersecurity; however, their performance is increasingly constrained by high-dimensional network traffic and the scalability limitations of classical machine learning approaches. Quantum Machine Learning (QML) has recently emerged as a promising paradigm by leveraging quantum feature spaces and hybrid quantum–classical optimization. In this work, we present a unified and reproducible benchmarking framework for QML-based intrusion detection under realistic Noisy Intermediate-Scale Quantum (NISQ) constraints. The proposed framework integrates hybrid Quantum Neural Networks (QNNs) and Quantum Support Vector Machines (QSVMs) within a consistent experimental pipeline, enabling a systematic comparison of quantum models, embedding strategies, and dimensionality reduction techniques. Experiments are conducted on the NSL-KDD benchmark dataset for both binary (normal versus attack) and multiclass intrusion detection tasks. Multiple quantum embedding strategies, including angle, amplitude, and Instantaneous Quantum Polynomial (IQP) embeddings, are evaluated in conjunction with PCA-based dimensionality reduction to analyze trade-offs between expressivity, circuit complexity, and computational cost. The proposed models are benchmarked against strong classical baselines under identical preprocessing and evaluation conditions. The results demonstrate that QNN- and QSVM-based IDS models achieve competitive and, in several scenarios, superior performance compared to classical approaches, particularly in multiclass settings characterized by nonlinear and imbalanced data distributions. In addition, we provide an in-depth analysis of scalability limitations, training complexity, and NISQ feasibility, highlighting practical considerations for real-world deployment. To ensure full reproducibility, all implementation details, datasets, and experimental configurations are publicly available at: https://github.com/raidanis/QML-IDS-NSLKDD. These findings position hybrid QML as a promising complementary paradigm for next-generation intrusion detection systems, particularly in low-dimensional and high-complexity feature spaces.
Intrusion detection systems (IDS) are essential for identifying cyber threats in complex digital environments. Machine learning (ML) is widely used to improve IDS by detecting anomalies, but classical ML methods often struggle with high-dimensional data and evolving threats. Quantum machine learning (QML) has been proposed as a potential paradigm to overcome some of these limitations, but is constrained by noisy intermediate-scale quantum (NISQ) challenges, affecting quality. This study systematically evaluates three QML models, Pegasos Quantum Support Vector Classifier (QSVC), Variational Quantum Classifier (VQC), and a Hybrid Quantum–Classical Neural Network (HQNN), for network anomaly detection. The models were optimized and tested on the ToN_IoT and NSL-KDD datasets using IBM quantum simulators under both ideal and noisy conditions. Performance was analyzed through the F1-score distribution as a function of circuit complexity, revealing how entanglement and noise affect robustness across different backends. Comparisons with classical models contextualize the current maturity of QML for cybersecurity, while computational time was used as an indicator of model complexity to explore accuracy–efficiency trade-offs. Among all configurations, Pegasos-QSVC achieved the best results, with 94.60% accuracy and an F1-score of 94.13%. The findings provide practical guidelines for designing noise-resilient QML models and highlight their potential for reliable intrusion detection under realistic quantum conditions.
Intrusion Detection Systems (IDS) play a fundamental role in safeguarding digital infrastructures against cyber threats. Quantum Machine Learning (QML) presents a promising frontier in this domain, offering potential computational speedups and improved management of complex datasets. However, its practical deployment is currently limited by the constraints of Noisy Intermediate-Scale Quantum (NISQ) devices. This work explores the application of various QML approaches, specifically Quantum Support Vector Classifiers (QSVC), Variational Quantum Classifiers (VQC), and hybrid quantum-classical neural networks for anomaly detection tasks. The models were fine-tuned and benchmarked using the ToN_IoT dataset, with performance assessed on IBM's noisy quantum simulators to evaluate their behavior under realistic noise conditions. Results indicate that the Pegasos-QSVC model outperformed others, reaching an accuracy of 93.05% and an F1 score of 93.73%. Through a comparative analysis of different circuit architectures, this study identifies strategies to improve the robustness of QML systems, emphasizing their emerging potential in cybersecurity scenarios.