IQM and Multiverse Computing have explored whether quantum machine learning can improve detection of malware beaconing, the subtle communication between infected machines and their controllers, in real network traffic. The AQACYB project, financially supported by the Région Île-de-France through its Pack Quantique program, tackled a key challenge in cybersecurity: unsupervised anomaly detection where labelled examples of malicious traffic are generally scarce.
Researchers combined kernel methods with support vector machines, optimizing quantum circuits for both performance and how distinctly they differed from classical approaches, and tested their findings on IQM’s 20-qubit Garnet processor, the company says. The study, published in Pareto-optimal quantum kernel selection for unsupervised anomaly detection on real malware beaconing data, reveals the need to balance accuracy with practical quantum advantage.
AQACYB Project: Detecting Malware Beaconing with Quantum Kernels
The AQACYB project employed a six-feature dataset derived from real network traffic to assess the potential of quantum machine learning in identifying malware beaconing, a subtle communication pattern used by malicious software. Researchers from IQM and Multiverse Computing, collaborating with cybersecurity experts from Allianz SE Cybersecurity and NextGen IT Think Tank, focused on unsupervised anomaly detection due to the practical difficulty of obtaining sufficient labelled examples of malicious traffic.
This approach allows models to learn normal network behavior and flag deviations without prior knowledge of specific attack signatures. A quantum kernel encodes data into a quantum circuit, mapping it into a higher-dimensional feature space where patterns become more discernible; the team’s innovation lay in a framework for selecting the optimal kernel without relying on labelled data, according to IQM. This optimization process simultaneously evaluated a kernel’s performance in separating anomalous traffic from normal traffic and its geometric difference from the best classical kernel.
Jointly optimizing performance and geometric difference was central to the team’s methodology, as a quantum kernel that performs well but closely resembles a classical one offers no compelling reason to use quantum hardware. Conversely, a kernel significantly different from classical approaches but with poor performance would be of limited practical value. The optimization loop systematically tested various quantum circuits and settings, scoring each based on these two metrics to identify the most effective model for each objective.
The team’s goal was not simply to achieve high accuracy, but to demonstrate a meaningful advantage over classical methods, the company says. Results obtained from both noiseless simulations and experiments on IQM Garnet, a 20-qubit superconducting quantum processor, revealed a subtle picture.
After pre-processing the data to reduce the feature count to six and creating training and test sets of 200 and 1000 points respectively, the team found that some quantum kernels outperformed classical counterparts in certain noiseless configurations. However, these superior kernels exhibited a small geometric difference, suggesting that an equally effective classical model could achieve similar results. Conversely, quantum kernels with a larger geometric difference, indicating greater divergence from classical approaches, consistently performed worse.
This finding emphasises the importance of considering both performance and geometric difference when evaluating the potential of quantum machine learning. Noise present in the quantum hardware further diminished the performance of the quantum kernels, with the impact being most pronounced in deeper data-encoding circuits using multiple two-qubit gates, which are inherently more prone to errors.
The team’s analysis did not reveal a clear quantum advantage on the chosen dataset and with the quantum kernels investigated. It offers a method to assess, without labelled data, whether a quantum model is both accurate and meaningfully distinct from classical alternatives. It is adaptable to different datasets and use cases. Future research will focus on addressing the limitations of the current study, including the limited data volume, the need for data-encoding circuits better tailored to the specific application, and the implementation of error mitigation techniques designed to minimize the impact of hardware noise.
Nadia Milazzo, Senior Quantum Education Specialist at IQM, notes that the protocol developed in AQACYB “gives a way to explore” the potential for quantum advantage in cybersecurity applications. The team’s work establishes a reusable test for evaluating quantum machine learning models on real-world data.




See today’s quantum computing news on Quantum Zeitgeist for the latest breakthroughs in qubits, hardware, algorithms, and industry deals.
