Network Intrusion Detection Systems (NIDSs) are commonly used today to detect malicious activities. Quantum computers, despite not being practical yet, are becoming available for experimental purposes. We present the first approach for applying unsupervised Quantum Machine Learning (QML) in the context of network intrusion detection from the perspective of quantum information, based on the concept of quantum-assisted ML. We evaluate it using IBM QX in simulation mode and show that the accuracy of a Quantum-Assisted NIDS, based on our approach, can be high, rivaling with the the best conventional SVM results, with a dependence on the characteristics of the dataset.
Network Intrusion Detection Systems (NIDSs) are commonly used today to detect malicious activities. Quantum computers, despite not being practical yet, are becoming available for experimental purposes. We present the first approach for applying unsupervised Quantum Machine Learning (QML) in the context of network intrusion detection from the perspective of quantum information, based on the concept of quantum-assisted ML. We evaluate it using IBM QX in simulation mode and show that the accuracy of a Quantum-Assisted NIDS, based on our approach, can be high, rivaling with the the best conventional SVM results, with a dependence on the characteristics of the dataset.
Quantum machine learning (QML) algorithms for intrusion detection systems in software-defined networks are investigated, and their effectiveness is compared with their classical machine learning methods. The University of Nevada - Reno intrusion detection dataset (UNR-IDD) is used to evaluate different QML models, including quantum k-nearest neighbors (QKNNs), quantum support vector machines (QSVMs), quantum neural networks (QNNs), and hybrid quantum neural networks (HQNNs). These models were tested with quantum simulators to evaluate their potential advantages in processing complex datasets. The results show that HQNN and QSVM have higher accuracy than their classical SVM and NN counterparts. This study shows the potential of leveraging QML to enhance precision. References to other works that dive into efficiency and complexity are included.
With cyber-attacks becoming increasingly sophisticated, modern network intrusion detection systems (NIDSs) are relying on machine learning (ML) methods for their flexibility in detecting subtle anomalous patterns in huge amounts of network data. However, classical ML methods such as support vector machines (SVMs) often rely on the conversion of low-dimensional data into a high-dimensional space, creating complex linear systems that are time-consuming to evaluate on large data inputs such as network flow logs. We propose addressing this limitation by employing a hybrid quantum-classical ML model to leverage quantum computing's (QC's) superiority in high-dimensional areas. We constructed a quantum kernel with an SVM model and evaluated it on four different network attacks from a modern intrusion detection dataset. Results reveal an average hardware accuracy rate of 85% with noticeably small deviations between runs, suggesting that quantum kernels may be a noise-resistant solution. We evaluated these results alongside classical and noiseless quantum simulator benchmarks.
A vital component in ensuring network security is an Intrusion Detection System (IDS), and classical Machine Learning (ML) models often struggle to keep pace with sophisticated cyber threats. Quantum Computing, a probabilistic computational class utilising the principles of quantum mechanics, has shown its potential to address some of these challenges through quantum parallelism and entanglement. In this work, we explore the use of Quantum Machine Learning (QML), specifically Quantum Convolutional Neural Network (QCNN) and Quantum Support Vector Machine (QSVM), to determine the benefits of using quantum kernels over classical kernels. We investigate multiple ansatz designs, and entanglement patterns, that generate sufficient representations of vectors in the Hilbert space to distinguish normal from malicious activity. The results have shown improvements in both models compared to their classical counterparts, with QSVM being the best performing when circuit block entanglement is used.
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.
In today's rapidly evolving cyber landscape, the growing sophistication of attacks, including the rise of zero-day exploits, poses critical challenges for network intrusion detection. Traditional Intrusion Detection Systems (IDSs) often struggle with the complexity and high dimensionality of modern cyber threats. Quantum Machine Learning (QML) seamlessly integrates the computational power of quantum computing with the adaptability of machine learning, offering an innovative approach to solving intricate and highdimensional challenges. A key factor in QML's performance is the method used to encode classical data into quantum states, as it defines how data is represented and processed in quantum circuits. QML offers promising advances for IDS, particularly through hybrid quantum-classical models. This study presents an in-depth comparative analysis of quantum-classical data encoding techniques for QML-based IDS. To the best of our knowledge, this is the first study to comprehensively evaluate the performance impact of different quantum encoding methods and provide a thorough evaluation of their impacts on the overall model performances. To achieve this, we first present a comprehensive evaluation of quantum and classical data encoding techniques, focusing on four key encoding techniques namely, Amplitude Embedding, Angle Embedding, Instantaneous Quantum Polynomial (IQP) Encoding, and Quantum Approximate Optimization Algorithm (QAOA) Embedding. Then, we develop a hybrid quantum-classical QML model to analyze how each encoding affects classification performance for malicious traffic. Finally, we conduct extensive experiments using two well-known, real-world network attack datasets to assess the accuracy and efficiency of each encoding approach. Our obtained results show notable differences in classification accuracy, underscoring the importance of encoding choice in optimizing QML-based IDS. This study aims to advance the application of quantum methodologies in network security by identifying effective encoding strategies for intrusion detection.