A reproducible quantum experiment is more than a circuit and a final score. This reporting template shows what to record for simulator and hardware runs—including software versions, circuit construction, transpilation, backend context, noise, shots, seeds, optimization, raw outputs, and classical baselines—so another researcher can repeat the work and explain differences.
Overview
Quantum results are unusually sensitive to implementation details. Two experiments can use the same algorithm and input while producing different outcomes because of a changed qubit layout, compiler pass, coupling map, calibration window, shot budget, random seed, or optimizer setting. A result that cannot be connected to those conditions is difficult to reproduce, compare, or extend.
The goal of a quantum experiment report is therefore not to record every line of code in the main text. It is to preserve enough structured metadata that a reader can reconstruct the experiment, identify which variables changed, and distinguish an algorithmic effect from an execution effect. This applies to statevector simulations, noisy simulations, variational quantum algorithms, quantum machine learning workflows, and runs on real quantum hardware.
Use the sections below as a quantum experiment reporting template. Store the detailed record alongside the code, input data, environment specification, and raw result files. A concise methods section can summarize the design, while an accompanying machine-readable record preserves the operational details.
For context, separate resource assumptions from experimental results using a quantum resource estimation worksheet. If the work is a variational benchmark, the reproducible VQA benchmarking workflow provides a useful companion structure.
What to track
1. Software, environment, and source identity
Record the exact execution environment before reporting a result. At minimum, capture:
- Python version and operating system.
- Quantum SDK name and version, such as Qiskit, Cirq, or PennyLane.
- Versions of numerical, machine-learning, and optimization libraries.
- Provider or runtime package version, if a cloud service was used.
- Repository commit, release tag, or archive identifier for the experiment code.
- Input-data version, dataset hash, preprocessing description, and train-validation-test split where relevant.
A lockfile or environment file is more useful than a prose statement such as “the latest SDK was used.” Preserve it with the experiment record. If the SDK changed between runs, label the runs separately rather than combining them under one version number. A setup record based on the guidance in this quantum Python environment guide can help make dependency differences visible.
2. Problem definition and circuit identity
Describe the task independently of the implementation. State the objective, input format, output quantity, cost or loss function, and success metric. Include the problem size and any preprocessing that changes the mathematical instance.
For each circuit or circuit family, record:
- Number of logical qubits, classical bits, layers, and measurements.
- Gate set before and after compilation, where both are available.
- Logical qubit ordering and register names.
- Parameter values, parameter initialization rule, and parameter ranges.
- Observable definitions, Hamiltonian terms, or bitstring-to-score mapping.
- Raw circuit representation or a serialized circuit artifact.
Do not report only a circuit diagram when parameterized circuits are involved. Preserve the parameter-binding order and the values used for every evaluation. For algorithm-specific context, the QAOA Max-Cut workflow illustrates why graph input, parameter settings, and result checks belong in the same record.
3. Mapping, transpilation, and execution settings
Hardware results require details about how the logical circuit became an executable circuit. Record the target backend or simulator, selected basis gates if configurable, optimization level or compiler preset, routing method, layout method, and any manually supplied initial layout. Also record whether the circuit was transpiled once and reused or recompiled for each job.
Preserve the final physical-qubit mapping, transpiled depth, two-qubit gate count, total gate count, and any relevant duration estimate. If dynamical decoupling, pulse-level control, measurement mitigation, circuit cutting, error suppression, or other transformations were applied, describe their order and parameters.
For a simulator, state whether the model was ideal, noisy, density-matrix based, stabilizer based, or another approximation. Record noise channels, parameter values, correlated-noise assumptions, measurement-error assumptions, and whether noise was applied before or after compilation. “Noisy simulation” is not sufficiently precise without the model and configuration.
4. Backend, calibration, and job context
For real quantum hardware, record the provider, backend identifier, device generation or configuration label when exposed by the platform, job identifier, submission and completion timestamps, and queue or execution mode if relevant. Capture the calibration context available at execution time, including reported gate, readout, or coherence metrics when those values are part of the platform record.
Calibration data changes. Do not present a later calibration snapshot as though it described an earlier run. Instead, archive the calibration response or record its retrieval timestamp and clearly mark whether it was measured before, during, or after execution. If a provider automatically selected a device or applied an optimization policy, record the selection rule and the resolved backend.
For simulator and hardware comparisons, make the target conditions explicit. A hardware result with a transpiled depth of one value should not be compared casually with an ideal simulation of the uncompiled circuit.
5. Shots, randomness, optimization, and raw outputs
Record the number of shots per circuit, per parameter setting, and per measurement basis. If shots were divided across batches or jobs, preserve that allocation. Include rejected jobs, failed circuits, retries, timeout behavior, and whether results were pooled across submissions.
Randomness must be traceable. Record seeds for circuit generation, parameter initialization, dataset shuffling, simulator sampling, noise generation, and classical optimization wherever the software exposes them. A single “random seed” field can be misleading when several independent random-number generators are involved.
For variational experiments, capture the optimizer name and version, learning rate or step-size schedule, stopping criteria, maximum iterations, tolerance, gradient method, parameter-shift or finite-difference settings, initial point, and callback behavior. Preserve the full optimization history—not only the best value—including objective values, parameters, evaluation counts, and termination reason.
Archive raw counts or bitstrings before normalization, mitigation, filtering, or aggregation. Store processed results separately and document every transformation. This is essential for diagnosing whether a difference comes from measurement sampling, post-processing, or the circuit itself. The quantum testing guide offers useful checks for separating circuit errors from shot-based variation.
6. Baselines, controls, and comparison rules
A quantum result needs a comparison that matches the same task and resource assumptions. Record the classical baseline algorithm, implementation, version, hardware, runtime conditions, stopping rule, and input preprocessing. If an exact solution is available for small instances, include it. If a heuristic is used, explain how it was initialized and how many repetitions were allowed.
Include control experiments such as an untrained circuit, a reduced-depth circuit, a shuffled-label test, an ideal simulation, or a noise-free reference when appropriate. State in advance which metric determines improvement and whether lower or higher is better. Avoid comparing a mitigated quantum score with an unprocessed baseline without labeling the difference in processing.
A copyable experiment record
experiment_id:
objective:
input_id_and_hash:
code_commit:
python_version:
sdk_and_provider_versions:
backend_or_simulator:
execution_timestamp_utc:
logical_qubits:
physical_qubits_and_layout:
circuit_identifier:
transpilation_settings:
transpiled_depth_and_gate_counts:
noise_model_or_calibration_record:
shots_per_circuit:
random_seeds:
optimizer_and_settings:
mitigation_or_postprocessing:
raw_output_location:
classical_baseline:
metric_and_aggregation:
known_limitations:
Cadence and checkpoints
Use checkpoints during the experiment rather than trying to reconstruct metadata at publication time.
- Before execution: freeze the environment, assign an experiment identifier, validate the circuit, define metrics, and record the planned baseline and shot budget.
- At submission: save the resolved backend, compiled circuit, job identifier, seeds, shot allocation, and execution parameters.
- After completion: archive raw outputs, calibration context, logs, optimization history, errors, retries, and processed results.
- At analysis: generate a summary from the raw record rather than manually retyping values. Keep scripts for aggregation and plotting with the code.
- Before publication: perform an independent rerun from a clean environment, verify that reported metrics can be regenerated, and check that every table or figure has a corresponding run identifier.
For recurring benchmarks, maintain a change log. Each monthly or quarterly review should note SDK upgrades, backend changes, compiler changes, altered noise assumptions, and revisions to the baseline. The purpose is not to force every run onto identical infrastructure; it is to make changes visible.
How to interpret changes
When a result changes, begin with the experiment record rather than the headline metric. A score shift may result from increased shot noise, a different physical layout, a deeper compiled circuit, a new calibration period, a changed optimizer initialization, or a modified post-processing rule.
Compare runs in layers:
- Same circuit, same simulator, different seeds: estimate sampling and initialization variability.
- Same logical circuit, different compilation: examine depth, routing, gate counts, and qubit assignment.
- Same compiled circuit, different hardware time: inspect calibration and execution context.
- Same hardware run, different processing: compare raw, mitigated, filtered, and aggregated outputs separately.
- Quantum result versus baseline: confirm that input, objective, budget, and stopping criteria are aligned.
Report uncertainty in a way that matches the measurement process. For shot-based estimates, preserve counts so readers can recalculate intervals or aggregates. For repeated optimizer runs, report the number of repetitions and show dispersion rather than only the best trial. Do not imply that repeated shots are independent hardware experiments when they were collected in one job.
For mitigation studies, report both the unmitigated and mitigated result, along with the mitigation settings and any sampling overhead. The error mitigation methods guide can help organize comparisons among zero-noise extrapolation, readout mitigation, and symmetry checks.
When to revisit
Revisit the reporting record whenever a dependency, provider interface, compiler, backend, noise model, or data-preprocessing step changes. A routine monthly or quarterly review is useful for active projects; a review before each paper, benchmark release, or major rerun is essential.
Use this pre-publication checklist:
- Can a reader identify the exact code, environment, input, circuit, and backend used?
- Are logical-to-physical mappings and transpilation settings preserved?
- Are noise assumptions, calibration timestamps, shots, seeds, and retries documented?
- Are raw counts or bitstrings archived separately from processed results?
- Can every reported figure and table be traced to an experiment identifier?
- Is the classical baseline defined with comparable inputs and stopping rules?
- Does a clean-environment rerun reproduce the reported analysis?
When the answer to any item is no, mark the gap before interpreting the result. Archive a machine-readable record, the source code, environment specification, input data or its permitted identifier, and a short methods summary. Then schedule the next review when the project’s software or hardware context changes—not only when a paper deadline arrives.
A careful reporting habit turns a one-time quantum run into a reusable research asset. It lets collaborators reproduce older results, lets reviewers assess meaningful comparisons, and lets future experiments explain whether an improvement came from the algorithm, the compilation, the hardware, or the analysis pipeline.