Quantum Machine Learning in Cybersecurity: A Hybrid Framework for Advanced Threat Detection and Classification
Nandala Narayanamma, Karnam Madhavi
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.
•Aug 1, 2026•0 citations