Search arXiv⌕ Search

arXiv · 2610.25203

Simulation-Based Quantum Forensics for QKD: Machine Learning Attack Detection and Signature Extraction

Abstract

Quantum Key Distribution (QKD) supports secure key establishment under ideal protocol assumptions, but practical systems remain exposed to implementation-level attacks against optical channels, detectors, and controller behavior. This study presents Quantum Forensic Log (QF-LOG), a simulation-based forensic framework for analyzing aggregated QKD operational logs rather than raw quantum states. QF-LOG uses four observable features: quantum bit error rate (QBER), photon count, latency in milliseconds, and abort flag. The framework classifies normal operation and three simulated attack-related conditions: partial intercept-resend, detector-blind, and fiber-tap. A physics-inspired Generator-A dataset with 5 million balanced records was constructed using explicit mathematical generation models for all four features. A transparent threshold baseline, logistic regression, random forest, and XGBoost were evaluated on Generator-A. The full-feature learning models achieved macro F1-scores from 0.8211 to 0.8243 and outperformed the transparent two-feature comparator. Feature diagnostics showed that QBER contributed most, followed by latency in milliseconds and photon count, while no single feature reproduced the full feature set performance. Robustness was assessed on a separately generated Generator-B dataset of 5 million records that uses the same governing equations under shifted simulated operating parameters. Without retraining or tuning, their macro F1-scores decreased to values from 0.5645 to 0.5669. These findings show that QF-LOG can support interpretable forensic classification in a controlled synthetic setting, but stable internal evaluation does not establish reliability under changed simulated QKD operating conditions. The framework provides a documented basis for future evaluation across broader simulated settings and hardware-generated QKD logs.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Madhab Chandra Das, Sajid Ahmed, Uzair Hussain, Van Vung Pham. 2026-10-18. Simulation-Based Quantum Forensics for QKD: Machine Learning Attack Detection and Signature Extraction. https://arxiv.org/abs/2610.25203

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Quantum superposition of black hole states as a communication resource

The interplay between black holes and quantum information has revealed deep connections between gravity and quantum mechanics. For example, the classical spacetime geometry of a black hole has been shown to degrade quantum entanglement shared by nearby observers, one of whom is in free fall. Here we examine how this picture changes when the black hole's mass degrees of freedom are allowed to exist in a coherent quantum superposition, corresponding to a superposition of distinct spacetime geometries. We show that such quantum coherence can mitigate the loss of entanglement between nearby observers, thereby enhancing the performance of quantum communication protocols operating in the vicinity of the black hole.

quant-ph↗

Classical simulators as quantum error mitigators via circuit cutting

We introduce a circuit cutting-based error mitigation framework, simulated quantum error mitigation (SQEM), in which an auxiliary error-mitigation subcircuit is simulated classically while the main computation is executed on quantum hardware. For the class of circuits considered here, SQEM can be implemented with polynomial overhead by mitigating one qubit at a time and classically recombining the resulting output distributions. This qubit-wise strategy avoids the exponential overhead of cutting all protected qubits simultaneously, while providing a scalable approximation to joint mitigation. We demonstrate the method using Pauli check sandwiching within VQE hardware-efficient ansätze and obtain ground-state energies close to noiseless ansatz simulations, including chemical accuracy for LiH.

quant-ph↗

A quantum oscillator interacting with a classical oscillator

We study a quantum oscillator interacting with, and back-reacting on, a classical oscillator. This can be done consistently provided the quantum system decoheres, while the backreaction has a stochastic component which causes the classical system to undergo diffusion. Nonetheless, the state of the quantum oscillator can remain pure conditioned on the trajectory of the classical oscillator. We solve the system using the classical-quantum path integral formulation, and compute the free and bridge correlators of the theory, which we use to find the heating rate. In addition, we explicitly compute the conditioned, and unconditional purity of the system. This serves as a toy model for a number of other systems in which one subsystem can be treated as effectively classical, such as a scalar quantum field interacting with another field undergoing decoherence, or a system emitting radiation, one of which is treated classically.

quant-ph↗