QSHIELD · Open benchmark · v1.7.0

Open benchmark

A public corpus, a published scoring rule, and a scorer you can rerun. Every detection number QSHIELD reports is produced here, and the stored results are checked in CI against a fresh run.

Corpus corpus-v1 · 417 circuits · protocol qshield-benchmark-v1 · scorer: python benchmarks/benchmark.py --check

Headline result

0.5767TPR at medium threshold
0.0000FPR at medium threshold
0.8279recall on published labels
417circuits scored

202 clean circuits and 215 malicious circuits, each malicious fixture carrying a published expected threat label. A circuit counts as flagged when QSHIELD emits at least one finding at or above the configured severity.

Threshold sweep

ThresholdTPRFPRPrecisionRecall
medium0.57670.00001.00000.8279
high0.27440.00001.00000.8279
critical0.00000.00000.00000.8279

Published so you can choose an operating point instead of accepting one headline number.

By attack family

FamilyDetectedRecallDescription
T1.165 / 651.0000Gate-level tampering
T1.351 / 520.9808Concealed identity structure
T2.116 / 340.4706Ancilla information leakage
T2.244 / 441.0000Encoded payloads
T2.320 / 201.0000Measurement manipulation

Leaderboard

#ToolVersionTPRFPRPrecision
1QSHIELD reference implementation1.7.00.57670.00001.0000

Rows are added with submitter, version, and date. To submit, run the scorer on the published corpus and attach the result document.

Reproduce or challenge

The corpus is public, so the detectors are public too. Rerunning the scorer should reproduce the numbers above exactly:

pip install -e '.[dev]'
python benchmarks/benchmark.py

To submit an evasion that QSHIELD misses, attach a .qasm file, the threat family it should map to, and the scorer output showing flagged: false. Accepted submissions become a labelled fixture in the next corpus version, and the gap is recorded in the changelog. Corpus versions are immutable.

Protocol

Read the full protocol in benchmarks/benchmark-v1.md, the design in Security architecture, or return to the Workbench.