← Lab /Quantum

Shot noise forces gradient attacks on quantum classifiers to need quadratically many measurements

Finite quantum measurement statistics impose a dimension-dependent shot cost that scales at least as d^{5/2} for gradient-based attacks

Quantum arXiv 13 Jul 2026 Measurement Simulation evidence Threat model

Published as “When cheap gradients fail: the measurement cost of attacking quantum classifiers”

Why it matters

The dimension-dependent shot cost creates a practical barrier for test-time adversarial attacks on quantum classifiers that offer a genuine quantum advantage.

Summary

Gradient extraction for adversarial attacks on quantum classifiers costs Θ(d^2) shots for fixed perturbation budget and Θ(d^{5/2}) when the budget scales with √d, far exceeding the constant-factor cost in classical models. Simulations on MNIST/Fashion-MNIST (d up to 784) and experiments on IBM's 12-qubit device confirm the scaling, showing total shot budgets growing roughly as d^3 due to gradient-norm decay. The evidence combines theoretical propositions with empirical measurements, but the study is limited to small, simulable circuits and does not evaluate full-scale quantum advantage regimes.

What they found 2

  1. The total measurement budget required for a successful single-step attack scales as R = Θ(ε d^2)

    “R = Θ(εd2) = Θ(d2)”

  2. When the perturbation budget scales as ε ∝ √d, the required budget becomes R = Θ(d^{5/2})

    “R = Θ(εd2) = Θ(d5/2)”

Caveats 3

  • Empirical results show the total shot budget grows approximately cubically (d3.00 and d3.07 on the two datasets), above the d5/2 floor that plateau-mitigated models would reach.
  • Our experiments should therefore be read as establishing the scaling law of measurement-based gradient extraction, not as a deployed defense at the dimensions probed.
  • Training-time threats such as data poisoning and backdoor injection lie outside this framework.

What’s new here 4

  • Derives explicit Θ(d^2) and Θ(d^{5/2}) shot-budget scaling laws for single-step quantum adversarial attacks.
  • Shows that the quantum gradient-cost ratio diverges polynomially with input dimension, breaking the classical cheap-gradient principle.
  • Provides matched hardware experiments confirming the theoretical shot-noise limits.
  • Analyzes the impact of gradient-norm decay on empirical scaling, revealing higher-than-baseline costs.

Threat model stated by the source

Adversarywhite-box test-time evasion attacker who knows the circuit architecture and trained parameters
Capabilitymust estimate input gradients via finite-shot measurements on the quantum device
Assumesforward map is classically intractable, so simulation-backpropagation is unavailable; gradient estimation uses unbiased parameter-shift rule with i.i.d. shot noise