A Hybrid Quantum–Classical Machine Learning Framework
Abstract
This paper proposes a hybrid quantum–classical machine learning (HQCML) framework that classifies attacks on quantum circuits from per-circuit telemetry by splitting features by physical origin and routing each group to its best-suited substrate. Twelve measurement-distribution statistics are encoded into a 12-qubit variational quantum circuit (VQC) with angle embedding, three strongly entangling layers, and Pauli-Z readout; ≈36 circuit-execution metadata features (qubit count, gate counts, depth, execution time, attack-channel parameters) go to a HistGradientBoosting (HGB) classifier. A logistic-regression meta-learner stacks the eight-class probability vector from the classical path with the twelve-dimensional Pauli-Z expectation vector from the quantum path to produce the final prediction over eight classes. On the Quantum Attack Dataset, the hybrid model attains 93.85% overall accuracy and 93.77% macro-F1, improving on the classical-only HGB baseline by 2.03 and 4.96 percentage points, respectively. The gain is concentrated on the two attack classes: measurement_tampering and pulse_level_attack, whose discriminating signal lives in the joint distribution of measurement statistics rather than in axis-aligned metadata thresholds, confirming that the quantum path contributes precisely where the entangling ansatz has a representational advantage. A multi-metric protocol with paired classical-only versus hybrid comparison isolates this marginal contribution.