← Back to section · Research Resources
Research Datasets and Benchmarks: What KAT, SUPERCOP, pqm4, and QASMBench Actually Measure
Correctness vectors, speed benchmarks, and quantum algorithm suites measure entirely different things. What each dataset is for, how to use it, and the most common ways researchers misuse them.
Three different things are all called “datasets”
In PQC and quantum computing research, “dataset” refers to at least three entirely different things: correctness test vectors (fixed inputs with expected outputs, checking whether an implementation is right), performance benchmarks (speed, size, and memory measured under controlled conditions), and algorithm benchmark suites (a standard problem set for comparing hardware or algorithm capability overall). Their conclusions are not interchangeable: passing test vectors does not make an implementation fast, and a high benchmark score does not make it correct. The tour below treats the cryptographic side and the quantum side separately.
The cryptographic side: KAT, SUPERCOP, pqm4
NIST KAT vectors (Known Answer Tests). Published with each PQC candidate’s submission package as .req / .rsp file pairs: given a deterministic seed, a conforming implementation must produce byte-identical keys, ciphertexts, or signatures. Their purpose is exactly one thing — verifying byte-level correctness, including encodings and how randomness is consumed internally. Passing KAT is the first gate for any PQC implementation; if it fails, every subsequent measurement is meaningless.
SUPERCOP (System for Unified Performance Evaluation Related to Cryptographic Operations and Primitives). The long-running benchmark toolkit maintained by the eBACS project; it measures the speed of a large collection of cryptographic primitives and implementations under one framework, with longitudinal results published at bench.cr.yp.to. Use it to compare implementations of the same primitive, or one implementation across platforms. Note that its numbers are bound to a specific machine and measurement batch — cite the machine and date along with any figure.
pqm4. A benchmarking framework for PQC schemes on ARM Cortex-M4 microcontrollers (the mupq/pqm4 project on GitHub). Under a common harness it measures cycle counts, stack usage, and flash footprint of PQC schemes on embedded targets. Use it for IoT and embedded selection decisions. Its fundamental difference from desktop benchmarks is the constraint order: embedded work cares about memory and size first, speed second. The companion PQClean project provides style-consistent, audit-friendly “clean” implementations that are often used as porting and comparison baselines.
The quantum side: QASMBench and algorithm suites
QASMBench (arXiv: 2005.13018) is a low-level quantum benchmark suite: a collection of OpenQASM circuits from small to medium scale spanning algorithms, communication, and simulation workloads, designed for evaluating NISQ-era quantum hardware and simulators. Its role is analogous to standard benchmark programs in classical computing — run the same circuit set across different backends and compare depth, fidelity, and success rates.
Usage notes: quantum benchmark outcomes depend heavily on compilation — how circuits are transpiled to a backend’s native gate set and topology. Before comparing two backends’ numbers, confirm that transpilation settings and success criteria match. Comparisons that cite qubit counts without circuit depths are meaningless.
A cross-cutting rule applies to all three families: pin the version. KAT files belong to a specific submission round and change when the specification changes — an implementation validated against round-2 vectors may legitimately fail round-3 vectors because the algorithm itself was tweaked. SUPERCOP results accumulate over years on evolving hardware. QASMBench circuits have been revised across versions of the suite. Every benchmark or validation claim should therefore carry four labels: dataset name, dataset version, platform, and date. A number missing any of the four is not wrong, exactly — it is unfinished, and should be treated as unusable for comparisons until the labels are supplied.
A checklist of common misuses
- Treating KAT as a security proof. KAT verifies only that an implementation matches its submission package. An implementation can “correctly” implement an insecure parameter set, or leak profusely through side channels.
- Comparing speeds across security categories. Putting a NIST category-1 implementation and a category-5 implementation in the same speed ranking is the most common beginner’s error.
- Ignoring constant-time behavior. Non-constant-time implementations are usually faster — and undeployable. Numbers obtained by stripping constant-time protections for a leaderboard must be labeled as such.
- Quoting cycles without a platform. SUPERCOP’s desktop numbers, pqm4’s Cortex-M4 numbers, and a cloud vendor’s quantum backend numbers each hold only in their own context.
- Reporting best-case values. A single fastest run or a single best fidelity is not a benchmark conclusion. Medians, repetition counts, and environment parameters must accompany the numbers.
- Substituting benchmarks for analysis. Benchmarks answer “how fast, how large” — never “how secure.” Security conclusions come from cryptanalysis and peer review; no leaderboard position substitutes for them.
Where the data lives: sources and version discipline
The official entry points for all four resource families are stable: KAT files and submission packages are archived on the NIST PQC project pages by algorithm and round; the SUPERCOP toolkit and its accumulated results live at bench.cr.yp.to; pqm4 and PQClean are maintained under the mupq organization on GitHub; and the QASMBench circuit collection is published with the paper’s arXiv page and project repository. Mirrors and re-uploads of unknown provenance cannot be verified — do not use them.
Version discipline mirrors that for standards texts: KAT vectors belong to a specific submission round’s specification, and when the specification changes, the vectors change — validating a round-3 implementation against round-2 vectors can fail simply because the algorithm itself was tweaked. SUPERCOP results accumulate over years while hardware and compilers move on; the QASMBench circuit set is likewise revised between versions. Any citation of a benchmark figure must therefore carry four elements: dataset name, version, platform, and date. Missing any one, the number is not comparable.
What a proper benchmark report looks like
Inverting the misuse checklist above gives the checklist for a report whose numbers can be trusted:
- State the security category and parameter set — the NIST category or exact parameters, never the algorithm name alone.
- State the platform and toolchain — processor or microcontroller model, compiler and version, optimization flags, and whether hardware acceleration instructions were enabled.
- State the implementation’s provenance and version — repository, commit hash or release, and whether the implementation is constant-time.
- Report distributions, not best cases — repetition counts, medians, and spread, plus warm-up and cache state.
- Put size and memory next to speed — key, ciphertext, and signature byte counts and stack/heap usage; for embedded and protocol settings these often decide usability more than speed does.
- Declare the measurement boundary — which stages the numbers include (randomness generation? encoding and decoding?) and which they exclude.
Meet all six and the figures are reproducible, comparable, and citable. Miss them, and a benchmark is just a benchmark.
Finally, citation practice itself: when a paper or report uses a dataset, cite it as a formal source — maintainer, dataset name, version, access link, and the date accessed. Datasets are updated, revised, and occasionally retired; only a citation carrying version and date gives later readers a chance to reproduce your conclusions. That is why this section catalogs datasets alongside papers and standards: they are part of the research infrastructure too.
References
- SUPERCOP / eBACS benchmarking portal: https://bench.cr.yp.to/supercop.html
- pqm4, post-quantum benchmarking framework for Cortex-M4: https://github.com/mupq/pqm4
- QASMBench: A Low-Level Quantum Benchmark Suite for NISQ Evaluation and Simulation: https://arxiv.org/abs/2005.13018
- NIST Post-Quantum Cryptography Standardization project (submission packages and KAT files): https://csrc.nist.gov/projects/post-quantum-cryptography
Tags: benchmarksdatasetsKATSUPERCOPpqm4