NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Machine Learning-Based Error Mitigation Approach For Reliable Software Development On IBM'S Quantum Computers

Asmar Muqeet, Shaukat Ali, Tao Yue, Paolo ArcainiarXiv 2024

In the current "Noisy Intermediate-Scale Quantum" (NISQ) era, quantum computers are powerful but incredibly fragile. A new paper by Muqeet et al. introduces Q-LEAR, a machine learning framework designed to clean up the "noisy" outputs of quantum programs, making software development on platforms like IBM Quantum significantly more reliable.

TL;DR

Q-LEAR is a machine learning-based error mitigation approach that uses a novel "depth-cut" feature set to quantify and remove noise from quantum circuit outputs. By avoiding the common pitfall of increasing circuit depth to measure noise, it achieves a 25% average improvement in accuracy over current state-of-the-art methods on real IBM quantum hardware.

What Problem Does This Paper Address?

Quantum computers suffer from inherent noise—decoherence, crosstalk, and gate calibration errors—that corrupts computational results. While full "Quantum Error Correction" is the long-term goal, it requires more qubits than we currently have. Consequently, researchers use "Error Mitigation," a post-processing step to estimate and subtract noise effects.

Existing machine learning (ML) mitigation techniques often rely on a "pseudo-oracle": they reverse a circuit ($U U^\dagger$) to see how much the output deviates from the ideal state (all zeros). However, this doubles the circuit depth, which ironically introduces even more noise, leading to inaccurate error estimates. Q-LEAR aims to provide a scalable, practical ML approach that accurately quantifies noise without exacerbating it.

Methods

The core innovation of Q-LEAR is its feature set, specifically the Depth-cut Program Error (Dpe).

Instead of reversing the entire circuit, Q-LEAR cuts the transpiled circuit at specific intervals (1/4, 1/2, and 3/4 of the total depth). It then appends the inverse of only that specific subcircuit. Because these test circuits are shorter than the original, they capture the "temporal evolution" of noise without crossing the threshold where decoherence makes the data useless.

Overview of the Q-LEAR process: Transpilation, Subcircuit creation, and Feature Set calculation.

Q-LEAR combines these Dpe values with other features:

  • Circuit-level features: Width (number of qubits), depth, and counts of single-qubit vs. two-qubit gates.
  • Output-level features: Observed probability, odds ratio, and "state weight" (the number of '1's in a bitstring).

These features are fed into a regression model. The authors tested ten different ML models, finding that a Multi-Layer Perceptron (MLP) provided the best balance of accuracy and generalization.

Datasets

The researchers utilized the MQT benchmark, a diverse set of quantum circuits.

  • Training: 56 "learning-level" circuits (educational/simple) executed on IBM’s noisy simulators to generate ~10,000 quantum states.
  • Testing: 6 "application-level" circuits solving real optimization problems (e.g., Traveling Salesman Problem, Ground State estimation, QAOA) executed on eight real IBM quantum computers (including Lagos, Perth, and Jakarta).

Key Insights and Ideas

  • Reversibility as a Tool, Not a Burden: The "aha moment" is realizing that while reversibility is great for finding the "ground truth" of noise, you don't need to reverse the whole program. Partial reversals provide a cleaner signal.
  • Feature Importance: Using the Leave-one-covariate-out (LOCO) method, the authors found that the "Observed Probability" of a state is the most critical feature for the ML model, but all features—including the new Dpe—contribute significantly to the final result.
  • The Simulator Gap: The study highlights a significant disparity between noisy simulators and real hardware. Models trained on simulators still helped real-world performance, but the authors emphasize that simulators are currently only a "weak approximation" of real quantum noise.
Feature importance analysis showing that all features contribute to reducing output error.

Key Results

  • Superior Mitigation: Q-LEAR outperformed the baseline (QRAFT) by an average of 25% across all tested real quantum computers and simulators.
  • Robustness: While the baseline method often overestimated noise on real hardware (actually making the results worse in some cases), Q-LEAR remained consistent.
  • Practical Integration: The authors demonstrated that Q-LEAR can be integrated as a post-processing module within the standard IBM Qiskit workflow.
Integration of Q-LEAR into the standard Quantum Software Development lifecycle.

Limitations and Future Work

  • Qubit Scaling: Due to limited access to large-scale hardware, the study was restricted to circuits with 5 to 7 qubits. The impact of noise increases exponentially with qubit count, so testing on larger systems is a necessary next step.
  • Data Scarcity: Training on real hardware is currently difficult due to long queue times. The authors call for better infrastructure to collect real-system training data to move beyond the limitations of noisy simulators.
  • Interval Optimization: The 1/4, 1/2, 3/4 depth cuts were chosen heuristically; future work will investigate if different intervals are more optimal for specific types of quantum algorithms.

Summary updated

BibTeX
@misc{muqeet2024machine,
  author = {Asmar Muqeet and Shaukat Ali and Tao Yue and Paolo Arcaini},
  title = {{A Machine Learning-Based Error Mitigation Approach For Reliable Software Development On IBM'S Quantum Computers}},
  year = {2024},
  eprint = {2404.12892},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.12892},
}
Figure