
TLDR
- What: A unified red-teaming benchmark (VQE-AdvBench) evaluates seven adversarial attacks on the Variational Quantum Eigensolver (VQE), demonstrating that noise-induced attacks targeting Zero-Noise Extrapolation (ZNE) and circuit-level backdoors are the most destructive.
- Who's at risk: Cloud-hosted "VQE-as-a-service" deployments, quantum chemistry simulation pipelines, and downstream high-stakes applications like quantum drug discovery and materials science.
- Key number: Noise-induced attacks (specifically the FreeDrift variant) achieve up to an $11.35\timesH_2 (\12.48\timesH_3^+$) on simulated IBM backends under ZNE error mitigation.
As high-performance quantum computing shifts toward cloud-hosted "VQE-as-a-service" models, the integrity of variational workflows increasingly depends on untrusted third-party transpilation stacks and co-tenant hardware environments. Compromised pipelines can silently inject malicious perturbations into chemistry simulations, leading downstream drug discovery platforms or materials engineering pipelines to accept toxic compounds or flawed molecular designs. Because optimized parameter vectors are frequently reused across downstream workflows, a poisoned solution can propagate silently.
Threat Model
| Dimension | Details |
|---|---|
| Attacker | Compromised cloud-service providers, malicious co-tenants exploiting shared hardware effects, or malicious insiders in the transpilation stack. Access levels range from gray-box (partial circuit visibility) to white-box (full access to parameters, hardware, and error-mitigation parameters). |
| Victim | Cloud-based VQE deployments running on Noisy Intermediate-Scale Quantum (NISQ) hardware, specifically workflows relying on Zero-Noise Extrapolation (ZNE) for error mitigation. |
| Goal | Corrupt the estimated molecular ground-state energy, bypassing detection to propagate poisoned solutions into downstream workflows (e.g., causing hazardous explosive compounds to pass safety checks). |
| Budget | Minimal. Attacks exploit existing parameter optimization runs, use gradient-based perturbations (e.g., FGSM, PGD), or insert lightweight gate-level triggers without requiring massive quantum hardware resources. |
Background and Problem Setup
The Variational Quantum Eigensolver (VQE) is a hybrid quantum-classical algorithm designed to estimate the ground-state energy of a molecular Hamiltonian . It prepares a trial state on a parameterized quantum circuit, computes the expectation value , and uses a classical optimizer to iteratively update the parameters until convergence.
To combat hardware noise on NISQ devices, practitioners rely on Zero-Noise Extrapolation (ZNE). ZNE artificially scales up hardware noise by scaling factors , records the noisy expectations at each level, and extrapolates back to the theoretical zero-noise limit ().
Prior security evaluations have studied attacks on parameterized quantum circuits in isolation. The comparison table below highlights how VQE-AdvBench addresses limitations in the current security research literature:
| Benchmark / Study | Target Domain | Access Models Evaluated | VQA / VQE Support? | Error Mitigation Targeted? |
|---|---|---|---|---|
| Nowmi et al. [9] (Prior SoK) | Quantum Machine Learning (QML) Classifiers | Primarily black-box & white-box | No (Focuses only on classifiers, not energy estimation) | No |
| VQE-AdvBench (This Work) | Variational Quantum Algorithms (specifically VQE) | Black-box, gray-box, and white-box | Yes (First unified protocol for VQE) | Yes (Specifically targets ZNE) |
Methodology
VQE-AdvBench implements and evaluates seven representative attack scenarios across a fixed molecule–ansatz–backend–metric configuration to establish a head-to-head severity ranking:
- QTrojan [12] (Gray-box): A semi-privileged adversary inserts concealed pre- and post-encoding gate layers around the state-preparation stage, triggered by a server-specific configuration file. When active, it amplifies execution errors on the target backend.
- QDoor [13] (White-box): An insider with full circuit access uses approximate-synthesis adversarial training to embed malicious behaviors directly into the optimized parameters , which activate during hardware execution.
- FGSM and PGD Adaptations (White-box): Since VQE lacks classical inputs, the researchers adapted Fast Gradient Sign Method (FGSM) [14] and Projected Gradient Descent (PGD) [15] to directly perturb the optimized classical parameter vector .
- FGSM: Takes a single step of size in the direction of the gradient to maximize energy error.
- PGD: Iteratively applies smaller gradient steps and projects the result back into the -bounded perturbation space.
- QNBAD [16] (White-box): Quantum Noise-induced Backdoor Attacks against zero-noise extrapolation deliver parameters that appear benign in noiseless simulations but alter how noisy expectation values behave across ZNE scaling levels. It has three variants:
- FreeDrift (QF): Maximizes discrepancy across noise levels.
- MimicSlope (QM): Shifts the noise trajectory uniformly.
- SilentShift (QS): Leaves low-noise values unchanged while corrupting high-noise expectation values.
Experimental Setup
- Molecules: (4 qubits, 24 parameters) and (6 qubits, 48 parameters) mapped to qubit Hamiltonians via Jordan-Wigner transformation [19].
- Ansatz: Hardware-Efficient Ansatz
efficient_su2from Qiskit [20] with linear entanglement. - Backends: Simulated, noise-calibrated IBM devices:
fake_cairo(CAI),fake_montreal(MON),fake_guadalupe(GUA),fake_almaden(ALM), andfake_auckland(AUC). - ZNE Configuration: Integrated via the Mitiq library [21], scaling noise by factors and fitting a second-degree polynomial to the expectation values.
- Evaluation Metric: Absolute energy error , where is the noise-free expectation value.
Key Results
The benchmark exposes a sharp contrast in attack severity. While noise-induced attacks and circuit backdoors devastate VQE calculations, parameter-level backdoors prove mostly ineffective.
Circuit- and Parameter-Space Attacks
Table I highlights the performance of QTrojan, QDoor, FGSM, and PGD across representative backends. Results show absolute errors, with the error amplification factor relative to the clean baseline indicated in parentheses.
| Backend | Schemes | VQE- Error (Amplification) | VQE- Error (Amplification) | GEO-Mean (Amplification) |
|---|---|---|---|---|
| CAI | Clean Baseline | 0.0770 (1.0x) | 0.1980 (1.0x) | 0.1235 (1.0x) |
| QTrojan | 0.4820 (6.26x) | 0.6364 (3.21x) | 0.5538 (4.48x) | |
| QDoor | 0.0905 (1.17x) | 0.1545 (0.78x) | 0.1182 (0.96x) | |
| FGSM | 0.2326 (3.02x) | 0.3490 (1.76x) | 0.2849 (2.31x) | |
| PGD | 0.3036 (3.94x) | 0.6980 (3.53x) | 0.4603 (3.73x) | |
| MON | Clean Baseline | 0.0471 (1.0x) | 0.1025 (1.0x) | 0.0695 (1.0x) |
| QTrojan | 0.4655 (9.88x) | 0.5862 (5.72x) | 0.5224 (7.52x) | |
| QDoor | 0.0491 (1.04x) | 0.1090 (1.06x) | 0.0732 (1.05x) | |
| FGSM | 0.2067 (4.39x) | 0.2671 (2.61x) | 0.2350 (3.38x) | |
| PGD | 0.2807 (5.96x) | 0.6505 (6.35x) | 0.4273 (6.15x) |
Noise-Induced Attacks (Targeting ZNE)
Table II tracks the effectiveness of the three QNBAD variants targeting the ZNE pipeline.
| Backend | Schemes | VQE- Error (Amplification) | VQE- Error (Amplification) | GEO-Mean (Amplification) |
|---|---|---|---|---|
| CAI | Clean Baseline | 0.0166 (1.0x) | 0.0231 (1.0x) | 0.0196 (1.0x) |
| FreeDrift (QF) | 0.1038 (6.26x) | 0.2889 (12.48x) | 0.1732 (8.84x) | |
| MimicSlope (QM) | 0.0939 (5.67x) | 0.2846 (12.30x) | 0.1635 (8.35x) | |
| SilentShift (QS) | 0.0716 (4.32x) | 0.1095 (4.73x) | 0.0885 (4.52x) | |
| MON | Clean Baseline | 0.0471 (1.0x) | 0.1045 (1.0x) | 0.0701 (1.0x) |
| FreeDrift (QF) | 0.5346 (11.35x) | 0.2782 (2.66x) | 0.3856 (5.49x) | |
| MimicSlope (QM) | 0.0981 (2.08x) | 0.3245 (3.11x) | 0.1784 (2.54x) | |
| SilentShift (QS) | 0.0633 (1.34x) | 0.2784 (2.67x) | 0.1328 (1.89x) |
Critical Analysis of Results
- QDoor is effectively a failure in this setting: QDoor yields negligible error amplification, hovering between $0.94\times and \1.37\times$ across all devices. The approximate-synthesis trigger has too little parameter-space room to inject meaningful errors within these small, shallow circuits.
- ZNE attacks are the most dangerous: FreeDrift (QF) achieves a devastating peak geometric mean error amplification of $8.84\times$ on CAI. This occurs because the attack directly exploits the ZNE mathematical extrapolation step; by subtly bending the noise curve at scaled levels, the zero-noise limit calculation extrapolates to a wildly incorrect energy value.
- Iterative perturbation dominates single-step: Parameter-space PGD consistently outperforms FGSM (e.g., $6.15\times vs. \3.38\times\epsilon = 0.25$ rad).
Limitations and Open Questions
While VQE-AdvBench successfully establishes a unified red-teaming framework, several critical areas remain unexplored:
- Small-Scale Evaluation: The dataset is limited to small molecules ( and ) on 4 to 6 qubits. How these attacks scale on larger systems like Lithium Hydride (, qubits) or Beryllium Hydride (, qubits) remains an open question.
- Out-of-Scope Hardware Vectors: The paper focuses entirely on the circuit and parameter abstractions. It does not address pulse-level attacks, which manipulate underlying microwave control signals, nor does it address vulnerabilities within compiler internals.
- Lack of Adaptive Attacker Evaluations: The proposed defenses are discussed theoretically but are not evaluated against an adaptive adversary who knows a defense is active and optimizes perturbations to bypass it.
What Practitioners Should Do
Organizations utilizing cloud-based "VQE-as-a-service" providers should act now to incorporate quantum-aware validation checks:
- Deploy Classical-Quantum Consistency Checks: Validate circuit results on classically simulable configurations or near-trivial reference states to flag structural anomalies or hidden gate additions before running full-scale molecular simulations.
- Implement Randomized Compiling: Apply randomized compiling and dynamical decoupling [23] to dynamically alter the hardware noise environment during execution. This breaks the device-specific noise trajectories that QNBAD variants rely on to bias the ZNE extrapolation curves.
- Enforce Multi-Backend Circuit Partitioning: Distribute circuit expectation value evaluations across multiple isolated backends or providers (similar to the QuMoS framework [24]). This prevents a single compromised service pipeline from controlling the entire transpilation and extrapolation stack.
- Conduct Parameter-Space Fine-Pruning: Validate final optimized parameter vectors by checking local sensitivity. Run micro-perturbations on localized parameter angles to ensure small changes do not trigger massive, non-linear energy errors.
The Takeaway
VQE-as-a-service pipelines are highly vulnerable to silent parameter and noise-mitigation tampering. Attackers can completely corrupt energy calculations without modifying target circuits directly, primarily by exploiting the ZNE error-mitigation pipeline or using structural circuit backdoors. Mitigating these risks requires moving beyond standard quantum error correction and implementing rigorous, multi-layered classical verification of transpiled circuits and execution parameters.
Den's Take
While VQE-AdvBench successfully systematizes attacks on variational workflows, it glosses over a fundamental weakness in the adversary's playbook: the statistical fragility of Zero-Noise Extrapolation (ZNE) curve-fitting. The paper demonstrates that FreeDrift achieves up to an $11.35\timesH_2\lambda$) at the physical layer without distorting the overall fitting residuals is exceptionally difficult. Real-world VQE operators do not just accept the extrapolated zero-noise value blindly; they inspect the polynomial or exponential fit of the expectation values across the noise factors. A localized perturbation designed to spike the final energy estimation will inevitably produce a poor goodness-of-fit metric, which serves as an immediate, passive defense.
As I have previously noted when reviewing quantum backdoor attacks, partitioning quantum circuits can mask or expose malicious trigger structures, a concept that directly connects to how VQE-AdvBench's circuit-level backdoors are affected by transpilation. Ultimately, the threat to "VQE-as-a-service" lies less in sophisticated noise manipulation and more in our current lack of standardized, tamper-evident logging for classical-to-quantum compilation pipelines. Until we secure the transpilation boundary, even basic gate-injection attacks will remain viable.