There is a pressing need for anomaly detection algorithms that can handle large amounts of diverse traffic data due to the quick growth of networked systems and the sophistication of contemporary cyberattacks. Despite the widespread use of conventional machine learning techniques for network intrusion detection, feature representation constraints, dataset imbalance, and the computational expense of scaling to vast problem spaces sometimes restrict their efficacy. In the meantime, new developments in quantum-assisted computation have opened up exciting possibilities for using quantum state changes to improve the feature learning process. Using the NF-UNSWNB15-v2 benchmark, this research presents HybridQCNN, a unique quantum-classical computing framework for binary classification of network traffic.The proposed architecture combines standard preprocessing techniques with an 8-qubit Parameterized Quantum Circuit (PQC) featuring multiple variational layers, where IsingXX and IsingYY entangling operations are applied to encode interfeature correlations, and a subsequent fully connected classical layer handles the final binary decision. A rigorous leakage-free data partitioning protocol was enforced, ensuring that all preprocessing transformations—including feature encoding, normalization, and threshold computation—were derived exclusively from the training subset, thereby preventing any information leakage from held-out partitions during evaluation. Experimental validation on a class-balanced subset of 60,000 traffic records yielded a classification accuracy of 97.33%, an F1-score of 0.9730, and a malicious traffic detection precision of 98.38%. Furthermore, the model achieved an AUC-ROC of 0.9861, reflecting strong class-level discriminability. Despite this performance, the entire model contains only 489 trainable parameters, underscoring the parameter efficiency of hybrid architectures relative to conventional deep learning baselines. These results suggest that integrating variational quantum circuits with classical inference modules provides an effective and scalable solution for network anomaly detection.
There is a pressing need for anomaly detection algorithms that can handle large amounts of diverse traffic data due to the quick growth of networked systems and the sophistication of contemporary cyberattacks. Despite the widespread use of conventional machine learning techniques for network intrusion detection, feature representation constraints, dataset imbalance, and the computational expense of scaling to vast problem spaces sometimes restrict their efficacy. In the meantime, new developments in quantum-assisted computation have opened up exciting possibilities for using quantum state changes to improve the feature learning process. Using the NF-UNSWNB15-v2 benchmark, this research presents HybridQCNN, a unique quantum-classical computing framework for binary classification of network traffic.The proposed architecture combines standard preprocessing techniques with an 8-qubit Parameterized Quantum Circuit (PQC) featuring multiple variational layers, where IsingXX and IsingYY entangling operations are applied to encode interfeature correlations, and a subsequent fully connected classical layer handles the final binary decision. A rigorous leakage-free data partitioning protocol was enforced, ensuring that all preprocessing transformations—including feature encoding, normalization, and threshold computation—were derived exclusively from the training subset, thereby preventing any information leakage from held-out partitions during evaluation. Experimental validation on a class-balanced subset of 60,000 traffic records yielded a classification accuracy of 97.33%, an F1-score of 0.9730, and a malicious traffic detection precision of 98.38%. Furthermore, the model achieved an AUC-ROC of 0.9861, reflecting strong class-level discriminability. Despite this performance, the entire model contains only 489 trainable parameters, underscoring the parameter efficiency of hybrid architectures relative to conventional deep learning baselines. These results suggest that integrating variational quantum circuits with classical inference modules provides an effective and scalable solution for network anomaly detection.
Weaknesses arising from heterogeneous device structure, high-dimensional traffic patterns, and more complex nonlinear attack behaviors. The traditional intrusion detection systems (IDS), which rely on the classical machine learning models, often face the challenges of scalability, feature explosion, and low representational ability when handling large-scale IoT traffic data. To meet these challenges, we propose a Hybrid Quantum-Classical Variational Neural Network (HQCVNN) for effective intrusion detection in IoT systems. The model utilizes a Variational Quantum Circuit (VQC) as a nonlinear quantum feature map followed by dense neural layers for overall classification. Angle embedding with entanglement layers enables the encoding of quantum data and leads to a better separability of features in high-dimensional space, whilst the classical optimization guarantees efficient training on NISQ time scales. The model is implemented using Qiskit and evaluated on classical benchmark intrusion detection datasets. Experimental results show the proposed method has better classification accuracy, F1-score, and complexity reduction than conventional ANNs and SVMs. The results demonstrate the promise of hybrid quantum machine learning systems with end-to-end general-purpose capabilities in future IoT security and provide pragmatic impressions on how to deploy them on near-term quantum processors.
Quantum Neural Network (QNN) provides an exciting alternative to machine learning as they take advantage of quantum computer properties when making decisions and processing data. However, the integration of high-dimensional classical data with the limited number of qubits available on current Noisy Intermediate-Scale Quantum computers presents a major difficulty. This paper presents a complete hybrid quantum-classical architecture in Qiskit that utilizes the Network Security Laboratory-Knowledge Discovery and Data Mining (NSL-KDD) dataset to classify network intrusions among multiple classes. In order to work around the exponential cost of computations and reduce the number of times quantum circuits need to be run due to hardware limitations, a subset of the dataset will be created to use during both training and testing. The architecture proposed in this paper uses a four-qubit Variational Quantum Circuit (VQC). First, a classical feature vector is used to create a quantum Hilbert space via a ZZFeatureMap, which initializes the qubits via a Hadamard transformation followed by phase rotation gates that create controlled-entanglement between pairs of features. The quantum states are then passed through a RealAmplitudes variational circuit, while the classical layer optimizes the parameters using the Constrained Optimization BY Linear Approximations (COBYLA) algorithm. The overall accuracy of the model when tested on five classes of intrusion detection results in an accuracy level of 59%, with very strong classification accuracies for both Denial of Service (DoS) and User-to-Root (U2R) attacks as demonstrated by their F1 scores. The proposed QNN achieves a highly competitive baseline of 86% accuracy and 86% recall in specific configurations. These results underscore the potential of shallow, lower-complexity QNN architectures as an emergent tool for cybersecurity in the quantum era.
The increasingly complex cybersecurity landscape requires more advanced network anomaly detection systems. Although, classical machine learning models are known to be effective, they reach computational bottlenecks when processing high-dimensional data. This study investigates the potential of Quantum Machine Learning (QML) for network traffic anomaly detection by evaluating four distinct Variational Quantum Classifier (VQC) architectures. A synthetic network traffic dataset is generated for the evaluations. The VQC models systematically varied feature encoding methods, parameterized ansatz circuits, quantum neural network types, and classical optimizers. Experimental results show that a trade-off exists between circuit expressivity and optimization stability. Deeper circuits (VQC-4) achieved higher accuracy of upto 89.0\%, while simultaneously being sensitive to training conditions. A shallower variant (VQC-1) under performed, although it had consistent and stable optimization curves. Class-dependent biases were also observed such as in VQC-2, where the model struggled to find an effective decision boundary, and produced a large number of false negatives. The best performing model in this study (VQC-3) combined ZFeatureMap with RealAmplitudes ansatz, optimized using ADAM. Comparative analysis against classical machine learning models such as Support Vector Machine and Random Forest reveal a performance gap, where classical models are able to achieve perfect classification performance on the synthetic data. It is concluded that classical algorithms remain dominant in their ability to classify structured data with relatively simple class separations. However, due to the observed potential of certain VQC configurations to learn decision boundaries to classify data, their utility for future applications in noisier, higher-dimensional problems is highlighted.
Quantum machine learning (QML) is increasingly investigated for network intrusion detection, but the practical value of current quantum models remains uncertain because many studies rely on small simulated data sets, idealized execution, weak classical baselines, or isolated accuracy comparisons. This study develops and evaluates a resource-aware hybrid quantum-classical intrusion detection framework that combines fixed fidelity quantum kernels, repaired Quantum Kernel Alignment (QKA), a Variational Quantum Classifier (VQC), LightGBM, prototype-based kernel reduction, and probabilistic stacking. Experiments use the UNSW-NB15 benchmark under a leakage-aware preprocessing protocol and repeated evaluation across five random seeds. The experimental program covers 4- and 6-qubit representations, multiple training sizes, prototype budgets, and finite-shot configurations, yielding 260 experimental configurations/runs. The strongest quantum-assisted model, a 6-qubit QKA-VQC-LightGBM stack at 100 samples per class, obtains mean F1=0.8480, MCC=0.7092, ROC-AUC=0.9398, and PR-AUC=0.9302. Repaired QKA improves F1 from 0.8043 for the corresponding fixed kernel to 0.8089, while 50-prototype QKA attains F1=0.8257 with a more favorable kernel-workload trade-off than larger prototype budgets. Finite-shot experiments between 1,024 and 4,096 shots remain stable in simulation. However, full-data LightGBM remains stronger overall (F1=0.8957, MCC=0.8068, ROC-AUC=0.9755, PR-AUC=0.9704), and corrected statistical tests do not establish general quantum superiority. These findings motivate a Selective Quantum Intrusion Detection System (S-QIDS), in which classical inference handles high-confidence traffic and quantum processing is reserved for uncertain, novel, or high-risk observations. The study therefore reframes near-term quantum intrusion detection from unconditional quantum advantage toward measurable quantum utility, quantum-classical complementarity, and resource-aware quantum intervention.
Accurate and computationally efficient classification of brain tumors from MRI scans is critical for deployment in resource-constrained clinical settings, where conventional deep CNN architectures-despite achieving strong accuracy-often require large parameter counts that limit scalability. This work proposes a hybrid quantum-classical deep learning framework that combines a classical convolutional feature extractor with a variational quantum circuit (VQC) for multi-class tumor classification. Spatial features extracted by the CNN backbone will be dimensionality-reduced and encoded into quantum states using angle encoding; a parameterized quantum circuit will then process these features in a higher-dimensional Hilbert space, leveraging superposition and entanglement to capture non-linear feature correlations. Measurement outputs from the quantum layer will be passed to a classical fully connected layer for classification into glioma, meningioma, pituitary tumor, and no-tumor categories. The proposed framework will be evaluated on a publicly available benchmark MRI dataset and benchmarked against state-of-the-art classical CNN architectures in terms of accuracy, precision, recall, F1-score, and parameter efficiency. This study aims to demonstrate that quantum-enhanced layers can achieve competitive classification performance while substantially reducing trainable parameters, offering a practical direction for efficient, quantum-assisted medical image analysis.
For intelligent surveillance videos, anomaly detection is extremely important. Deep learning algorithms have been popular for evaluating real-time surveillance recordings, like traffic accidents, and criminal or unlawful incidents such as suicide attempts. Nevertheless, Deep learning methods for classification, like convolutional neural networks, necessitate a lot of computing power. Quantum computing is a branch of technology that solves abnormal and complex problems using quantum mechanics. As a result, the focus of this research is on developing a hybrid quantum computing model which is based on deep learning. This research develops a Quantum Computing-based Convolutional Neural Network (QC-CNN) to extract features and classify anomalies from surveillance footage. A Quantum-based Circuit, such as the real amplitude circuit, is utilized to improve the performance of the model. As far as my research, this is the first work to employ quantum deep learning techniques to classify anomalous events in video surveillance applications. There are 13 anomalies classified from the UCF-crime dataset. Based on experimental results, the proposed model is capable of efficiently classifying data concerning confusion matrix, Receiver Operating Characteristic (ROC), accuracy, Area Under Curve (AUC), precision, recall as well as F1-score. The proposed QC-CNN has attained the best accuracy of 95.65 percent which is 5.37% greater when compared to other existing models. To measure the efficiency of the proposed work, QC-CNN is also evaluated with classical and quantum models.