A Bayesian Approach for Characterizing and Mitigating Gate and Measurement Errors

Muqing Zheng, Ang Li, Tamás Terlaky, Xiu Yang · OpenReview

Introduction

In the current "Noisy Intermediate-Scale Quantum" (NISQ) era, quantum computers are powerful but temperamental. Without the heavy overhead of full Quantum Error Correction (QEC), researchers rely on Quantum Error Mitigation (QEM) to clean up the "noisy" results produced by imperfect hardware. This paper introduces a sophisticated statistical approach to this problem, moving away from fixed error rates toward a more fluid, Bayesian understanding of quantum noise.

Problem Statement: The Static Noise Fallacy

Quantum computers suffer from two primary types of noise: gate errors (where a logic operation like a bit-flip doesn't happen perfectly) and measurement errors (where a qubit is in state $|0\rangle$ but the equipment reads it as $|1\rangle$).

Most current mitigation techniques rely on vendor-provided calibration data—single numbers representing average error rates. However, these rates fluctuate over time and vary across different circuits. If a "noise filter" is based on an inaccurate snapshot of the hardware's state, the error mitigation will be biased or ineffective. This research seeks a way to "learn" the true noise profile of a device directly from experimental data by treating noise parameters as probability distributions.

Methods: Consistent Bayesian Inference

The authors employ a Consistent Bayesian inference approach. Unlike standard Bayesian inference, which focuses on finding a posterior distribution based on a likelihood function, the "consistent" approach treats error mitigation as a stochastic inverse problem.

General noise model representing a unitary operation $U$ followed by gate errors $X_{\epsilon_g}$ and measurement.

Key components of the framework include:

  • Forward Models: Mathematical models describing how bit-flip gate errors and classical measurement errors propagate through a circuit.
  • Consistent Bayesian Inference: The use of "push-forward measures" to ensure that the distribution of the model's predicted outputs matches the distribution of the actual observed noisy data.
  • The Filter: Once noise parameters (like the probability of a bit-flip $\epsilon_g$) are characterized as distributions, an inverse matrix or constrained optimization problem is solved to "unfold" the noise and recover the ideal probability distribution.
Circuit structure used to characterize gate errors through $m$ repetitions of a unitary block.

Experimental Evaluation

The researchers evaluated their method using IBM’s 5-qubit ibmqx2 (Yorktown) quantum computer across several benchmarks:

  • State Tomography: Reconstructing Bell states.
  • Grover’s Search: A fundamental quantum algorithm for searching unsorted databases.
  • QAOA (Quantum Approximate Optimization Algorithm): Solving the Max-Cut problem on a specific graph.
  • Random Clifford Circuits: Testing the robustness of measurement error filtering across different circuit depths.

Key Insights

  • Distributions over Determinism: By characterizing error rates ($\epsilon$) as distributions, the model captures hardware uncertainty and instability, leading to an unbiased denoising process.
  • Sensitivity Asymmetry: Sensitivity analysis revealed that in deep circuits, output is far more sensitive to gate errors than measurement errors. This explains the failure of standard measurement-only filters in deep circuits.
  • Efficiency in Calibration: The proposed testing circuits for measurement error are highly efficient, requiring only ground state preparation and a linear number of gates.

Results

The Bayesian approach consistently outperformed standard methods like Qiskit’s CompleteMeasFitter and Quantum Detector Tomography (QDT):

  • Grover’s Search: In a 2-qubit Grover search (ideal success probability 1.0), the raw device scored ~0.67. The Bayesian "Consistent Mean" filter boosted this to ~0.91, while standard methods only reached ~0.71.
  • Temporal Robustness: Bayesian filters remained effective even 16 hours after initial noise characterization, suggesting they capture fundamental hardware characteristics better than daily snapshots.
  • State Fidelity: For 3-qubit state tomography, Bayesian methods yielded higher fidelity than vendor-provided filters despite using fewer model parameters.

Limitations and Future Work

The denoising step involves a matrix of size $2^n \times 2^n$, which becomes computationally prohibitive for large $n$. Future work will explore parallel algorithms or limiting basis ranges. Additionally, the current model assumes independent measurement errors; incorporating pairwise-correlated noise (crosstalk) and expanding the gate error model to a universal gate set (including phase-flips and entangling gates) are key next steps.

Summary updated

BibTeX
@article{zheng2023bayesian,
  author = {Muqing Zheng and Ang Li and Tamás Terlaky and Xiu Yang},
  title = {{A Bayesian Approach for Characterizing and Mitigating Gate and Measurement Errors}},
  journal = {ACM Trans. Quantum Comput.},
  year = {2023},
  doi = {10.1145/3563397},
}
Figure