With an increasing sophistication and prevalence of cyber attacks, basic machine learning techniques have been shown to lack basic capabilities for network attack detection in complex, high-dimensional attacks. In this paper, the authors present and thoroughly test a hybrid Quantum Machine Learning (QML) approach to facilitate the detection and classification of advanced cybersecurity threats. The QETC framework uses quantum feature mapping and data encoding with entanglement to increase the representational power of high dimensional data over classical methods. Systematic evaluation was performed on the NSL-KDD and CICIDS-2017 benchmark intrusion detection datasets with a simulated quantum backend with 8 qubits. Experimental results show that the QETC model obtains classification accuracy of 96.3% and 97.1% on the NSL-KDD and CICIDS-2017 datasets, respectively, which is statistically significant, with a margin of 2.8 and 3.4 percentage points over the best-performing classical baseline models. Interestingly, the quantum model outperformed by a large margin the detection capabilities for both rare and zeroday attack classes with an F1-score improvement up to 8.2 percentage points in the minority attack classes. This result in this paper demonstrates significant empirical evidence that quantum-classical hybrid architectures are a promising and viable path forward for next-generation cybersecurity applications.
With an increasing sophistication and prevalence of cyber attacks, basic machine learning techniques have been shown to lack basic capabilities for network attack detection in complex, high-dimensional attacks. In this paper, the authors present and thoroughly test a hybrid Quantum Machine Learning (QML) approach to facilitate the detection and classification of advanced cybersecurity threats. The QETC framework uses quantum feature mapping and data encoding with entanglement to increase the representational power of high dimensional data over classical methods. Systematic evaluation was performed on the NSL-KDD and CICIDS-2017 benchmark intrusion detection datasets with a simulated quantum backend with 8 qubits. Experimental results show that the QETC model obtains classification accuracy of 96.3% and 97.1% on the NSL-KDD and CICIDS-2017 datasets, respectively, which is statistically significant, with a margin of 2.8 and 3.4 percentage points over the best-performing classical baseline models. Interestingly, the quantum model outperformed by a large margin the detection capabilities for both rare and zeroday attack classes with an F1-score improvement up to 8.2 percentage points in the minority attack classes. This result in this paper demonstrates significant empirical evidence that quantum-classical hybrid architectures are a promising and viable path forward for next-generation cybersecurity applications.
Cyberspace menace has grown to a more advanced level where it is very challenging to counter it using traditional defense systems. Although classical approaches to machine learning (ML) have been extensively used in intrusion and anomaly detection, Support Vector Machines (SVM) and Neural Networks (NN) are often limited in one way or another by when handling high-dimensional, high complexity, and actively changing cyber-attack patterns. According to the laws of superposition and entanglement, Quantum Machine Learning (QML) is a potential alternative that can increase the efficiency of calculations and reach a higher detection rate. We conduct a comparative analysis of the traditional ML models (SVM, NN) with quantum ML models (Quantum SVM and Quantum Neural Networks) on benchmark datasets, such as the NSL -KDD, KDD Cup 1999 and a malware detection dataset in this paper. These findings have shown that the QML models, especially the QSVM, are better than the classical models in terms of accuracy (around 94.8) and trainings (around 85 seconds). The level of these improvements is supported with statistical tests. However, the results were obtained in an idealized simulation case and they are limited to the limitations of NISQ hardware in the field. The paper concludes by positively identifying that QML represents an exciting and efficient prospect to next-generation cybersecurity systems though its implementation to date is restricted due to the existing quantum hardware resources.
Modern cyberattacks are increasingly complex, posing significant challenges to classical machine learning methods, particularly when labeled data is limited and feature interactions are highly non-linear. In this study we investigates the potential of hybrid quantum-classical learning to enhance feature representations for intrusion detection and explore possible quantum advantages in cybersecurity analytics. Using the UNSW-NB15 dataset, network traffic is transformed into structured feature vectors through classical preprocessing and normalization. Classical models, including Logistic Regression and Support Vector Machines with linear and RBF kernels, are evaluated on the full dataset to establish baseline performance under large-sample conditions. Simultaneously, a quantum-enhanced pipeline maps classical features into variational quantum circuits via angle encoding and entangling layers, executed on a CPU-based quantum simulator, with resulting quantum embeddings classified using a classical SVM. Experiments show that while classical models achieve higher overall accuracy with large datasets, quantum-enhanced representations demonstrate superior attack recall and improved class separability when data is scarce, suggesting that quantum feature spaces capture complex correlations inaccessible to shallow classical models. These results highlight the potential of quantum embeddings to improve generalization and representation quality in cybersecurity tasks and provide a reproducible framework for evaluating quantum advantages as quantum hardware and simulators continue to advance.
This study explores the application of quantum machine learning (QML) algorithms to enhance cybersecurity threat detection, particularly in the classification of malware and intrusion detection within high-dimensional datasets. Classical machine learning approaches encounter limitations when dealing with intricate, obfuscated malware patterns and extensive network intrusion data. To address these challenges, we implement and evaluate various QML algorithms, including Quantum Neural Networks (QNN), Quantum Support Vector Machines (QSVM), and hybrid Quantum Convolutional Neural Networks (QCNN) for malware detection tasks. Our experimental analysis utilized two datasets: the Intrusion dataset, comprising 150 samples with 56 memory-based features derived from Volatility framework analysis, and the ObfuscatedMalMem2022 dataset, containing 58,596 samples with 57 features representing benign and malicious software. Remarkably, our QML methods demonstrated superior performance compared to classical approaches, achieving accuracies of 95% for QNN and 94% for QSVM. These quantum-enhanced methods leveraged quantum superposition and entanglement principles to accurately identify complex patterns within highly obfuscated malware samples that were imperceptible to classical methods. To further advance malware analysis, we propose a novel real-time malware analysis framework that incorporates Quantum Feature Extraction using Quantum Fourier Transform, Quantum Feature Maps, and Classification using Variational Quantum Circuits. This system integrates explainable AI methods, including GradCAM++ and ScoreCAM algorithms, to provide interpretable insights into the quantum decision-making processes.
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.
The growing complexity and velocity of cyber threats in high-security environments such as defense, critical infrastructure, and intelligence networks necessitates a paradigm shift in threat detection capabilities. Traditional cybersecurity systems, including those enhanced by classical machine learning algorithms, often struggle to process and classify massive volumes of heterogeneous and encrypted data in real time. This shortcoming is particularly evident in the context of advanced persistent threats (APTs), polymorphic malware, and insider attacks, which require rapid adaptation and heightened sensitivity to anomalous behavior.Quantum Machine Learning (QML), an emerging interdisciplinary field at the intersection of quantum computing and artificial intelligence, presents a promising avenue for augmenting threat detection mechanisms. Leveraging quantum phenomena such as superposition and entanglement, QML models offer potential advantages in processing speed, pattern recognition, and feature space transformation that can outperform their classical counterparts in high-dimensional data analysis. This paper explores the application of QML to threat detection in high-security networks, proposing a hybrid quantum-classical framework that integrates quantum-enhanced classifiers such as quantum support vector machines and variational quantum circuits into existing detection pipelines.The study outlines a technical overview of quantum computing principles relevant to cybersecurity, critically evaluates existing detection architectures, and presents simulation-based case studies to assess performance metrics, including detection accuracy and false positive rates. It further examines the limitations of current quantum hardware, algorithmic constraints, and emerging ethical and operational considerations. The findings suggest that while QML is still constrained by hardware maturity and integration complexity, it holds transformative potential for proactive, intelligent, and adaptive cyber defense systems in high-stakes environments. This research contributes to ongoing efforts to future-proof cybersecurity infrastructure against both classical and post-quantum threat landscapes.
In cybersecurity, protecting sensitive data from malicious attacks is of paramount importance. Classical machine learning algorithms have shown limitations in this domain due to their inability to handle complex, highly dynamic, and adversarial attack scenarios. Quantum machine learning (QML) algorithms, with their enhanced processing capacity and robustness against such attacks, offer a promising alternative to address these shortcomings. Consequently, QML can significantly improve the detection and mitigation of sophisticated and evolving threats. This study explores the application of QML algorithms, specifically the quantum support vector machine (QSVM) and a hybrid quantum neural network (QNN) and QSVM architecture (QSVM-QNN), on two real-world cybersecurity datasets: APA-DDoS and CIC-IoT2022. Initially, different qubit counts and encoding techniques are investigated to assess the effectiveness of the swap test and UU† methods for inner product calculation, which is later employed in the QSVM algorithm. Subsequently, the performance of the proposed QSVM and QSVM-QNN models is evaluated and compared against classical counterparts across varying numbers of qubits and encoding schemes. The results show that the proposed QSVM model achieved accuracies of 1.000 and 0.985, while the QSVM-QNN model reached accuracies of 0.970 and 1.000, respectively, on the two datasets, demonstrating strong performance and surpassing several classical models. Furthermore, to assess robustness, the proposed algorithms were tested under various noise models, highlighting their capability to provide effective solutions for cybersecurity challenges in realistic quantum noisy environments.