Quantum error mitigation can make near-term hardware results more useful, but it cannot turn a noisy experiment into a fault-tolerant one. This guide provides a reusable workflow for diagnosing errors, selecting a mitigation technique, measuring its overhead, and reporting results honestly against an unmitigated baseline.
Overview
Quantum processors are affected by several forms of noise. Qubits can lose information during idle periods, gates can introduce control errors, measurements can confuse one classical outcome for another, and unwanted interactions can alter the state of neighboring qubits. These effects become especially important in near-term or NISQ experiments, where circuits are too large or hardware is too noisy to run reliably without assistance.
Quantum error mitigation reduces the influence of errors in reported results without encoding every logical qubit into a large fault-tolerant code. That distinction matters. Error mitigation generally adds measurements, circuit variants, calibration data, post-processing, or scheduling constraints. It does not permanently correct the quantum state, and its benefit depends on the circuit, device, noise pattern, estimator, and available execution budget.
Error mitigation should therefore be treated as an experimental workflow rather than a single switch in a software development kit:
- Define the observable and success criterion.
- Run a reproducible unmitigated baseline.
- Characterize the dominant error sources.
- Choose the least expensive technique that addresses those errors.
- Repeat measurements with matched shot budgets and settings.
- Report uncertainty, overhead, and failure cases alongside the result.
Before applying mitigation, review circuit depth, connectivity, gate count, and execution cost. The quantum circuit resource estimation guide and transpilation guide provide useful preparation steps. A shorter, better-mapped circuit can outperform a heavily mitigated version of an inefficient circuit.
Checklist by scenario
Scenario 1: Measurement errors dominate
Use measurement-error mitigation when the circuit appears to prepare a reasonable state but the final readout is biased or confused. A calibration procedure can estimate how often each prepared basis state is reported as another state. The resulting calibration data can then be used to adjust measured probabilities or expectation values.
- Choose the measurement basis and calibration circuits that match the experiment.
- Record when calibration was performed and on which device qubits.
- Check whether calibration assumptions remain plausible during the run.
- Compare raw and corrected distributions, not only a single corrected number.
- Include the statistical and numerical uncertainty introduced by correction.
Measurement mitigation is often a practical first test because it targets the readout stage directly. It does not compensate for errors that occurred earlier in the circuit, such as decoherence or faulty two-qubit gates.
Scenario 2: Gate and decoherence errors are important
Zero-noise extrapolation, or ZNE, estimates what an observable might have been at a lower noise level. The experiment runs related circuit versions with deliberately increased noise, measures the observable at each effective noise level, and extrapolates toward the zero-noise limit.
- Select a noise-scaling method that preserves the circuit's logical operation as closely as possible.
- Use multiple noise levels only when the added execution cost is justified.
- Keep the transpilation, qubit mapping, and measurement procedure controlled across variants.
- Plot the measured values before choosing an extrapolation model.
- Test whether the extrapolated value is stable when one scale or fit choice changes.
ZNE can be useful for expectation-value estimation, including workloads such as variational algorithms. However, extrapolation is sensitive to the selected model and to statistical noise. A visually improved answer is not sufficient evidence if the fit is unstable or the uncertainty becomes too large.
Scenario 3: The circuit is small but execution is expensive
Probabilistic error cancellation, or PEC, uses a noise model to construct a combination of noisy operations whose weighted average approximates an ideal operation. In principle, this can produce an unbiased estimate under the model. In practice, the sampling overhead can grow quickly, and the method requires a useful characterization of the hardware noise.
- Verify that the noise model was obtained under conditions similar to the target circuit.
- Estimate the number of additional circuit evaluations before committing to the method.
- Track the variance of the mitigated estimator rather than reporting only its mean.
- Use PEC selectively for small, high-value experiments where its overhead is manageable.
Scenario 4: Idle periods and unwanted interactions are visible
Dynamical decoupling inserts carefully selected control pulses during periods when a qubit would otherwise wait. The goal is to reduce the effect of certain environmental or slowly varying errors. It is a circuit-scheduling strategy, not a universal noise solution.
- Confirm that the device and pulse or gate-level workflow support the chosen sequence.
- Account for the additional gates and their own errors.
- Compare schedules with identical logical circuits and matched measurement budgets.
- Use it when idle time is substantial, rather than adding pulses by default.
Quick technique comparison
| Technique | Targets | Main overhead | Primary limitation |
|---|---|---|---|
| Measurement-error mitigation | Readout confusion and bias | Calibration circuits and post-processing | Does not fix errors before measurement |
| Zero-noise extrapolation | Gate and circuit noise | Several scaled circuit executions | Fit and extrapolation instability |
| Probabilistic error cancellation | Modeled operation errors | Potentially high sampling variance | Strong dependence on the noise model |
| Dynamical decoupling | Some idle-time and environmental errors | Additional pulses or gates | Can add errors or conflict with scheduling constraints |
What to double-check
A fair mitigation experiment changes one major factor at a time. First, preserve an unmitigated baseline using the same algorithm, qubit mapping, transpilation constraints, shot allocation, and observable definition. Without that baseline, it is difficult to determine whether mitigation helped or whether a different circuit configuration produced the apparent improvement.
Second, distinguish bias from variance. A corrected estimate may be closer to a reference value while also becoming much noisier. Report confidence intervals or another uncertainty measure appropriate to the estimator. The measurement and shot allocation guide can help structure this comparison.
Third, validate against a trusted reference whenever possible. For a small circuit, calculate the result classically. For a variational algorithm, compare energy estimates with a suitable classical approximation or known bound. For a QAOA experiment, separate the quality of the sampled solution from the quality of an expectation-value estimate; these are related but not identical questions.
Finally, record the complete run context:
- Device or simulator identifier and execution date.
- Logical circuit, transpiled circuit, qubit layout, and gate set.
- Shot count for baseline, calibration, and mitigated runs.
- Noise-scaling factors, extrapolation model, or mitigation parameters.
- Calibration procedure and any filtering or post-selection rules.
- Raw results, corrected results, uncertainty estimates, and failed trials.
This record makes the experiment reproducible when a software API, backend configuration, or hardware noise profile changes. It also gives future readers enough context to compare results rather than treating one corrected value as a universal benchmark.
Common mistakes
- Mitigating before optimizing: Error mitigation cannot compensate efficiently for unnecessary depth, poor connectivity choices, or excessive two-qubit operations.
- Using the wrong technique: Readout correction will not repair a state that was already corrupted by a deep circuit, and dynamical decoupling is not a substitute for a reliable noise model.
- Ignoring overhead: Extra circuits, calibration runs, classical processing, and variance are part of the result, not implementation details to omit.
- Comparing unmatched experiments: Different shot counts, mappings, transpilation passes, or device conditions can invalidate a baseline comparison.
- Reporting only the best output: Selective reporting hides instability. Preserve failed fits, outliers, and sensitivity checks.
- Confusing mitigation with correction: Quantum error correction uses encoded logical information and active fault-tolerant procedures. Mitigation generally estimates a better answer from noisy executions and remains limited by the available hardware and model.
For algorithm-specific work, connect mitigation to the full use case. A QAOA Max-Cut workflow, for example, should define whether success means a better approximation ratio, a more accurate expectation value, or a more useful sample distribution. Similar care applies to VQE and quantum machine learning experiments; the quantum machine learning workflow covers broader evaluation considerations.
When to revisit
Revisit your mitigation plan whenever the hardware backend, SDK implementation, transpiler settings, pulse schedule, calibration process, or target circuit changes. A technique that worked for one device generation or circuit family may not transfer cleanly to another because the dominant noise source and available controls can differ.
Before each new experiment, use this short action list:
- Run a fresh unmitigated baseline.
- Inspect depth, two-qubit count, idle windows, and measurement structure.
- Choose one primary mitigation method and define its expected benefit.
- Set an execution and variance budget before collecting data.
- Run a sensitivity check for calibration drift, fit choice, or scaling range.
- Publish raw and mitigated results together with uncertainty and overhead.
For a reusable reporting template, write: “On [device or simulator], circuit [identifier] was executed with [shots] shots using [mapping and transpilation settings]. The unmitigated estimate was [value ± uncertainty]. We applied [technique] with [calibration, scaling, or model details], adding [execution or processing overhead]. The mitigated estimate was [value ± uncertainty]. Results were compared with [reference], and sensitivity to [main assumptions] was [stable or limited].”
Keep this checklist with your experiment repository and review it during planning cycles or after major tool updates. The goal is not to make every noisy result look better; it is to determine when mitigation produces a more informative estimate, at a cost and uncertainty that remain clear.