Where Does a Variational Quantum Classifier Lose Accuracy? Angle Encoding, Readout and the Fidelity-Kernel Reference in Cyberattack Detection
Angelos Thomos, Theodore Andronikos
Key points
From the paper's conclusion- We compare angle and amplitude encoding, vary one component at a time, and measure each circuit against a classical yardstick: a support-vector machine on the encoded states, whose accuracy estimates what a well-trained circuit can reach.
Abstract
When a variational quantum classifier performs poorly at detecting network attacks, it is hard to tell which part is to blame: the encoding, the trained circuit or the readout, which turns measurements into a class. In this work, we build upon a recent amplitude-encoded classifier, and we try to separate their contributions to the NSL-KDD benchmark in noiseless simulation. We compare angle and amplitude encoding, vary one component at a time, and measure each circuit against a classical yardstick: a support-vector machine on the encoded states, whose accuracy estimates what a well-trained circuit can reach. Most of the shortfall lies in the readout. Reading one qubit, or the parity of all qubits, leaves several percentage points unused, while a readout trained together with the circuit recovers most of them from the same measurements. This also explains why some classifiers stop improving as further layers are added. The encodings suit different needs. Angle encoding gives the more accurate detector on traffic like the training data and, from eight features up, shallower circuits; amplitude encoding needs far fewer qubits and catches more attacks of types never seen in training. Finally, we report that classical models, given the same inputs, are about as accurate as the best circuits, thus, registering no quantum advantage.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Quantum Autoencoders for Network Anomaly Detection: A Comparative Benchmark with Classical MethodsElectronics · 2026
- Quantum Anomaly Detection in network traffic using Variational Quantum ClassifiersarXiv · 2026
- An Empirical Evaluation of Quantum Kernel Stability in Network Intrusion DetectionarXiv · 2026
- Evaluating Angle and Amplitude Encoding Strategies for Variational Quantum Machine Learning: Their Impact on Model's AccuracyAdvanced Quantum Technologies · 2026
- Robust Quantum Machine Learning for Collider Event Selection under Detector VariabilityarXiv · 2026
- A Quantum Convolutional Neural Network Framework for Network Intrusion DetectionJournal of Cybersecurity and Privacy · 2026