Hybrid quantum machine learning (QML) algorithms have potentials for current quantum computing technologies since only part of the model is computed by a quantum device. This paper proposes a novel hybrid quantum-classical deep learning model for cybersecurity application: domain generation algorithms (DGA)-based botnet detection. We analyzed our hybrid model’s performance compared with the classical model counterpart to investigate the quantum circuit’s effectivity as a layer in a deep learning model. We used four features of the Botnet DGA dataset: MinREBotnets, CharLength, TreeNewFeature, and nGramReputation_Alexa. The hybrid model’s quantum circuit is a combination of Pennylane’s embedding (Angle Embedding and IQP Embedding) and layers circuit (Basic Entangler Layers, Random Layers, and Strongly Entangling Layers). Also, we implemented noise models for assessing the applicability of the model for current Noisy Intermediate Scale Quantum (NISQ) technology. We found that in some cases, the hybrid model reached high performance (maximum accuracy up to 94,7% using n=100; 93,9% using n=1,000). We discovered that the combination of Angle Embedding and Strongly Entangled delivers high accuracy, superior to the classical deep learning model in n=100 experiments). However, the overall performance is still inferior for the rest cases compared to the classical deep learning model counterpart.
Hybrid quantum machine learning (QML) algorithms have potentials for current quantum computing technologies since only part of the model is computed by a quantum device. This paper proposes a novel hybrid quantum-classical deep learning model for cybersecurity application: domain generation algorithms (DGA)-based botnet detection. We analyzed our hybrid model’s performance compared with the classical model counterpart to investigate the quantum circuit’s effectivity as a layer in a deep learning model. We used four features of the Botnet DGA dataset: MinREBotnets, CharLength, TreeNewFeature, and nGramReputation_Alexa. The hybrid model’s quantum circuit is a combination of Pennylane’s embedding (Angle Embedding and IQP Embedding) and layers circuit (Basic Entangler Layers, Random Layers, and Strongly Entangling Layers). Also, we implemented noise models for assessing the applicability of the model for current Noisy Intermediate Scale Quantum (NISQ) technology. We found that in some cases, the hybrid model reached high performance (maximum accuracy up to 94,7% using n=100; 93,9% using n=1,000). We discovered that the combination of Angle Embedding and Strongly Entangled delivers high accuracy, superior to the classical deep learning model in n=100 experiments). However, the overall performance is still inferior for the rest cases compared to the classical deep learning model counterpart.
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.
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) 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.
The application and assessment of quantum-based anomaly detection models in cybersecurity are examined in this work. The efficacy of quantum machine learning approaches for detecting several cyber threats, including Denial of Service (DoS), Remote-to-Local (R2L), and botnet penetration, using two well-known intrusion detection datasets: NSL-KDD and CICIDS2017. Angle and amplitude encoding techniques are worn to preprocess and instruct traditional data into quantum-readable formats, making it compatible with quantum circuits. Due to the present constraints of Noisy Intermediate-Scale Quantum (NISQ) devices, the models are developed using Qiskit, using parameterized quantum layers via the TwoLocal ansatz, and simulated on classical hardware using Qiskit Aer. Metrics are used to compare performance to traditional machine learning models, such as Support Vector Machines (SVM), Random Forests (RF), and Multilayer Perceptions (MLP). The quantum SVM (QSVM) performs better in classification on both datasets, according to the results, indicating that quantum computing may be used to improve anomaly detection in cybersecurity applications.
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.
Hybrid Quantum Machine Learning is an emerging field of research that combines the strengths of both classical and quantum domains, particularly when working with noisy intermediate-scale quantum (NISQ) computers. Classical models often face challenges related to the size of input data and model complexity, while quantum computing-based models are constrained by the limited availability of high-qubit, error-free quantum hardware. Hybrid models, which integrate quantum circuits with classical deep learning models, offer a solution to these limitations. Recent research has demonstrated the superiority of hybrid models over classical models in terms of performance. Motivated by these findings, in this work, 2 basic classical models Fully Connected Neural Network (FCNN), and Convolution Neural Network (CNN)-Bidirectional Long Short-Term Memory(BiLSTM) are modified using different quantum circuits and performance of these hybrid models is compared for heart disease detection task.