Running a quantum circuit on real hardware requires more than submitting code and reading the most frequent bit string. This checklist helps you verify qubit mapping, transpilation, native gates, shot counts, calibration data, queue selection, measurement effects, and result provenance before execution—and then compare hardware output with simulator results in a reproducible way.
Overview
A simulator can tell you whether a circuit is logically well formed. Real hardware adds another layer of questions: Can the selected device implement the circuit efficiently? Which physical qubits will carry the logical qubits? How much noise is introduced by routing and added gates? Were the calibration conditions recorded when the job ran? Are the observed differences large enough to distinguish hardware behavior from ordinary sampling variation?
A useful hardware experiment treats execution as a documented workflow rather than a single API call. First, freeze the circuit and its assumptions. Next, select a backend that fits the circuit’s connectivity, gate set, size, and runtime constraints. Then inspect the compiled circuit before submission. Finally, preserve enough metadata to explain what happened after the results arrive.
This process applies across provider platforms and SDKs, although names for backends, jobs, transpilers, calibration fields, queue estimates, and error-mitigation options vary. Use the provider’s current documentation to map its terminology to the checkpoints below. For broader workflow context, see IBM Quantum vs. Amazon Braket: Choosing a Cloud Workflow for Quantum Experiments.
What to track
1. Circuit identity and intended experiment
Record the exact circuit submitted, not only the source code that generated it. A compact experiment record should include:
- Algorithm or circuit name and a short statement of the hypothesis.
- Logical qubit count, classical register layout, and measurement basis.
- Random seeds or generated parameters, where applicable.
- Parameter values and the order in which circuits were executed.
- SDK, compiler, transpiler, and runtime versions.
- Whether the circuit uses dynamic control flow, mid-circuit measurement, resets, or custom gates.
These details prevent a common failure: comparing two results that appear to represent the same experiment but were produced by different circuit versions or measurement conventions.
2. Backend fit and qubit mapping
Do not select a backend solely because it has enough qubits. Check whether its connectivity supports the interactions in your circuit and whether the required operations are available. A circuit with mostly nearest-neighbor interactions may behave very differently from one that repeatedly couples distant logical qubits.
After compilation, record the logical-to-physical qubit mapping. The mapping can affect results because physical qubits and couplers do not behave identically. If you rerun the experiment later, the compiler may choose a different mapping unless you constrain or record it. That makes a hardware-to-hardware comparison harder to interpret.
For each submission, note the backend identifier, device generation or configuration label when exposed, region or access route if relevant to your workflow, and the date and time of execution. Provider terminology changes, so preserve the raw job metadata as well as a human-readable summary.
3. Transpilation depth and native gates
The source circuit is not necessarily the circuit executed by the device. Transpilation decomposes abstract operations into the backend’s native gate set and inserts routing operations when the selected qubits are not directly connected.
Inspect at least these values before submitting:
- Total gate count and two-qubit gate count.
- Overall depth and, if available, depth by gate type.
- Number of inserted swaps or equivalent routing operations.
- Final native operations and measurement instructions.
- Whether barriers, resets, or scheduling choices affect execution time.
Two circuits with the same logical algorithm can have substantially different compiled forms. A large increase in two-qubit gates or depth is a reason to reconsider the mapping, circuit layout, ansatz, or backend—not automatically a reason to reject the experiment. Keep both the pre-transpilation and post-transpilation representations so the change is visible.
4. Shots and statistical precision
Shots are repeated executions used to estimate a distribution or expectation value. More shots reduce sampling uncertainty, but they do not remove gate, readout, crosstalk, drift, or model errors. Choose a shot count that matches the measurement task and document it.
For a bit-string distribution, preserve the complete counts rather than only the winning outcome. For expectation values, record the measured observable, grouping strategy, number of shots per group, and any post-processing. If you need to compare small changes between circuits, use a consistent shot budget and, where supported, a consistent randomization policy.
5. Calibration and device conditions
Calibration data provides context for a hardware result. Capture the fields the provider exposes for the relevant execution window, such as qubit readout characteristics, gate-error estimates, coherence-related values, coupling information, and calibration timestamp. Treat these values as time-dependent metadata, not permanent properties of the device.
A calibration snapshot does not predict an individual job perfectly. It is still valuable because it lets you identify whether a result was collected during a materially different operating condition. If the provider does not expose a particular field, record that absence rather than filling it with an assumption.
6. Queue, runtime, and submission settings
Before submission, record the queue or priority option, estimated waiting information if available, execution mode, timeout, resilience or error-mitigation settings, and any batching behavior. Queue information is operational context, not a quality score. A longer wait does not by itself imply a better or worse result.
Be especially careful when comparing jobs submitted through different execution modes. A direct circuit run, an expectation-value primitive, and a managed workflow may apply different compilation or post-processing steps. The comparison is meaningful only when those differences are documented.
7. Measurement and result provenance
Measurement error can change the observed distribution even when the circuit itself is correct. Decide before execution whether you will use raw counts, a readout-mitigated result, another error-mitigation method, or several versions side by side. Do not silently replace raw data with corrected data.
Preserve the job identifier, submission and completion timestamps, backend identifier, circuit hash or serialized circuit, shot count, result payload, calibration reference, and post-processing code. This is the minimum provenance needed to reproduce an analysis or explain why a later rerun differs. For testing practices, see How to Test Quantum Circuits: Unit Tests, Assertions, and Regression Checks.
Cadence and checkpoints
Use a preflight review for every new circuit and a shorter review for every rerun. A practical cadence looks like this:
Before each submission
- Confirm the circuit version, parameters, measurements, and expected output format.
- Compile for the selected backend and inspect mapping, depth, native gates, and routing overhead.
- Confirm shot count, execution mode, mitigation settings, and queue selection.
- Save backend properties and calibration metadata available before submission.
- Run a simulator check using the same compiled circuit and measurement model where possible.
After every job completes
- Verify that the job finished without partial results, rejected circuits, or fallback behavior.
- Check that the returned circuit count, classical-bit layout, and shot count match expectations.
- Save raw results before filtering, mitigation, normalization, or plotting.
- Compare hardware output with a matching shot-based simulator baseline.
- Record anomalies, warnings, and any changed provider settings.
Monthly or quarterly review
For an active project, review the experiment log at least monthly or at a meaningful project milestone. Look for changes in backend availability, compiler defaults, SDK versions, calibration-field names, queue behavior, native gate support, and result schemas. A quarterly review is a reasonable minimum for dormant notebooks or tutorials that readers may run later.
How to interpret changes
Start with the simplest explanation: sampling variation. Compare repeated hardware runs and calculate uncertainty appropriate to the quantity being measured. A small change in a probability or expectation value may not be meaningful when the shot count is limited.
Next, compare compiled circuits. If hardware output changed after a transpiler or backend change, check whether depth, routing, native gate counts, mapping, or scheduling also changed. This often explains differences more directly than the abstract source circuit does.
Then compare device context. Review calibration timestamps and the physical qubits used. If one run used a different layout or was executed under different calibration conditions, label the comparison accordingly. Avoid attributing every deviation to a single gate error or to the algorithm itself.
Use a layered comparison rather than one headline metric:
- Logical baseline: ideal statevector or exact simulator output, when feasible.
- Sampling baseline: a shot-based simulation of the same compiled circuit.
- Hardware raw result: counts or expectation values before correction.
- Hardware processed result: mitigation or readout correction, clearly labeled.
This separation helps identify whether a discrepancy comes from finite shots, circuit compilation, device noise, measurement, or post-processing. A quantum simulator comparison can help select a baseline that matches the question being asked. For experiments focused on mitigation, document the method and its assumptions; the corrected result is not automatically closer to the ideal result.
For a reusable post-run worksheet, record: job ID; backend; execution time; logical-to-physical mapping; depth; one- and two-qubit gate counts; shots; calibration reference; raw counts; simulator counts; distance or error metric; mitigation settings; and a short interpretation. End with one confidence label such as “repeat required,” “consistent within sampling uncertainty,” or “difference requires investigation.”
When to revisit
Revisit this checklist before every real-hardware submission, even when the source code has not changed. The compiled circuit, selected mapping, backend properties, and calibration context may have changed independently.
Update your project checklist when an SDK, compiler, provider interface, or execution primitive changes. Also revisit it when a backend is retired, renamed, reconfigured, or replaced; when native gate documentation changes; when result fields or job-status states change; or when your workflow adds mitigation, dynamic circuits, batching, or parameter sweeps.
For ongoing experiments, schedule a monthly review of active logs and a quarterly review of stored tutorials, notebooks, and internal runbooks. Record the review date and the terminology used by the provider at that time. This makes older results easier to interpret without pretending that calibration or queue information remains current indefinitely.
Before your next run, copy this short action list into the experiment ticket:
- Freeze and hash the circuit, parameters, and measurement definition.
- Compile for the target backend and save mapping, depth, native gates, and routing overhead.
- Choose and record shots, execution mode, queue option, and mitigation settings.
- Capture available calibration and backend metadata.
- Run a matching simulator baseline.
- Save raw hardware output, processed output, job metadata, and timestamps.
- Compare results using uncertainty and compiled-circuit context before drawing a conclusion.
That routine turns a one-off hardware submission into a traceable quantum experiment—and gives you a reliable starting point when the same circuit is run again after the device or software stack changes.