Quantum Machine Learning (QML) has recently emerged as a promising approach for cybersecurity applications due to its ability to encode data into high-dimensional Hilbert spaces. However, most QML-based intrusion detection systems rely on a single quantum embedding strategy, limiting representation diversity. This paper proposes a Multi-Embedding Quantum Ensemble (ME-QE) framework that combines Angle Embedding and IQP Embedding using concatenation and weighted fusion strategies. The proposed approach is evaluated on the NSL-KDD dataset for binary intrusion detection using stratified 5-fold cross-validation. Experimental results show that the best fusion configuration achieves 94.75% accuracy, while the classical Random Forest baseline reaches 97.50%. The analysis further demonstrates that Angle Embedding contributes more effectively to classification performance than IQP Embedding in this context. In addition, the study highlights important scalability limitations of quantum kernel methods due to the computational cost of pairwise kernel evaluation. The proposed framework provides insights into hybrid quantum–classical intrusion detection and establishes a foundation for future scalable quantum cybersecurity architectures.
Quantum Machine Learning (QML) has recently emerged as a promising approach for cybersecurity applications due to its ability to encode data into high-dimensional Hilbert spaces. However, most QML-based intrusion detection systems rely on a single quantum embedding strategy, limiting representation diversity. This paper proposes a Multi-Embedding Quantum Ensemble (ME-QE) framework that combines Angle Embedding and IQP Embedding using concatenation and weighted fusion strategies. The proposed approach is evaluated on the NSL-KDD dataset for binary intrusion detection using stratified 5-fold cross-validation. Experimental results show that the best fusion configuration achieves 94.75% accuracy, while the classical Random Forest baseline reaches 97.50%. The analysis further demonstrates that Angle Embedding contributes more effectively to classification performance than IQP Embedding in this context. In addition, the study highlights important scalability limitations of quantum kernel methods due to the computational cost of pairwise kernel evaluation. The proposed framework provides insights into hybrid quantum–classical intrusion detection and establishes a foundation for future scalable quantum cybersecurity architectures.
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.
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.
The rapid growth of Internet of Things (IoT) deployments has increased the need for effective intrusiondetection methods; however, most Quantum Machine Learning (QML) intrusion-detection studies still rely on homogeneous feature encodings, limiting their performance on unseen attack scenarios. In this paper, we introduce two heterogeneous quantum fusion methods, Quantum Voting Ensemble (QVE) and Quantum Weighted Ensemble (QWE), that combine QSVC classifiers built from distinct feature maps to exploit encoding-level diversity. On the 5-class IoTID20 dataset, across 10 to 16 qubits and 25 model settings, QVE achieves 99.5% accuracy and 0.971 Matthews Correlation Coefficient (MCC), the best evaluated quantum result, within 0.2 percentage points of classical Random Forest, and 4.2 to 7.8 percentage points above Quantum Random Forest (QRF), indicating that heterogeneous encodings are more effective for this task than homogeneous quantum bagging.
Intrusion detection remains a critical challenge in cybersecurity, particularly when dealing with high-dimensional data. In this work, we propose a hybrid quantum machine learning model that integrates a Quantum Autoencoder (QAE) for dimensionality reduction with a Quantum Neural Network (QNN) classifier. The QAE compresses input features into latent states without relying on classical methods such as Principal Component Analysis (PCA), preserving quantum-relevant information. These latent states are then classified using a Variational Quantum Circuit implemented with Qiskit. We systematically evaluated different ansatz architectures and hyperparameters on the NSL-KDD dataset. The best configuration, an EstimatorQNN with EfficientSU2 ansatz (4 repetitions), achieved an F1-score of 0.767, with balanced recall (0.70) and precision (0.84). These results highlight the potential of quantum-enhanced models for addressing the scalability challenges of intrusion detection, representing a step toward applying High-Performance Computing principles to cybersecurity.
Quantum machine learning (QML) has recently emerged as a promising research direction at the intersection of artificial intelligence, quantum computing, and cybersecurity. Among its potential applications, intrusion detection remains particularly relevant due to the growing complexity of cyber threats and the increasing need for adaptive and efficient detection mechanisms. This paper explores the applicability of lightweight quantum and hybrid quantum-classical machine learning approaches for intrusion detection in resource-constrained experimental settings. The study is designed as a comparative analysis of selected models, including variational and kernel-based quantum techniques, alongside a conventional classical baseline, in order to evaluate their practical potential for cybersecurity tasks.The experimental framework relies on a reduced and preprocessed cybersecurity dataset and is implemented in a simulated quantum environment using accessible open-source tools. The comparison considers standard performance indicators such as classification effectiveness and computational efficiency, while also reflecting on broader dimensions of model suitability for security-oriented applications. In addition to the technical evaluation, the paper addresses several ethical considerations associated with the use of QML in cybersecurity, including limited transparency, risks related to biased or imbalanced training data, and the operational implications of incorrect classifications in intrusion detection scenarios.Rather than claiming immediate quantum advantage, the study aims to provide a realistic and methodologically grounded perspective on the current role of QML in cybersecurity research. The expected contribution is twofold - first, to outline a feasible experimental approach for evaluating QML methods in intrusion detection and second, to highlight the importance of combining performance-oriented assessment with ethical and interpretability-related considerations when examining emerging intelligent security solutions.
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.