Skip to main content
QUICK REVIEW

[Paper Review] QuEst: Graph Transformer for Quantum Circuit Reliability Estimation

Hanrui Wang, Pengyu Liu|arXiv (Cornell University)|Oct 30, 2022
Quantum Computing Algorithms and ArchitectureComputer Science52 references12 citations
TL;DR

This paper proposes QuEst, a graph transformer model that estimates quantum circuit fidelity under noise with polynomial complexity, avoiding costly exponential simulations. By representing circuits as graphs with gate and noise features, QuEst achieves 0.04 RMSE and over 200× speedup compared to simulators, with R² scores of 0.99 and 0.95 for random and algorithmic circuits, respectively.

ABSTRACT

Among different quantum algorithms, PQC for QML show promises on near-term devices. To facilitate the QML and PQC research, a recent python library called TorchQuantum has been released. It can construct, simulate, and train PQC for machine learning tasks with high speed and convenient debugging supports. Besides quantum for ML, we want to raise the community's attention on the reversed direction: ML for quantum. Specifically, the TorchQuantum library also supports using data-driven ML models to solve problems in quantum system research, such as predicting the impact of quantum noise on circuit fidelity and improving the quantum circuit compilation efficiency. This paper presents a case study of the ML for quantum part. Since estimating the noise impact on circuit reliability is an essential step toward understanding and mitigating noise, we propose to leverage classical ML to predict noise impact on circuit fidelity. Inspired by the natural graph representation of quantum circuits, we propose to leverage a graph transformer model to predict the noisy circuit fidelity. We firstly collect a large dataset with a variety of quantum circuits and obtain their fidelity on noisy simulators and real machines. Then we embed each circuit into a graph with gate and noise properties as node features, and adopt a graph transformer to predict the fidelity. Evaluated on 5 thousand random and algorithm circuits, the graph transformer predictor can provide accurate fidelity estimation with RMSE error 0.04 and outperform a simple neural network-based model by 0.02 on average. It can achieve 0.99 and 0.95 R$^2$ scores for random and algorithm circuits, respectively. Compared with circuit simulators, the predictor has over 200X speedup for estimating the fidelity.

Motivation & Objective

  • Address the challenge of efficiently estimating quantum circuit fidelity under noise in Noisy Intermediate-Scale Quantum (NISQ) devices.
  • Overcome the exponential classical simulation cost that limits practical fidelity evaluation for large circuits.
  • Enable data-driven, fast, and accurate reliability estimation to support robust quantum circuit design and optimization.
  • Demonstrate the effectiveness of graph neural networks in modeling quantum circuit structure and noise propagation.
  • Integrate the proposed method into the TorchQuantum library for broader research and application use.

Proposed method

  • Represent quantum circuits as graphs where gates are nodes and execution order defines edges.
  • Encode each node with features including gate type, qubit index, and device-specific noise parameters (e.g., T1, T2, gate errors).
  • Employ a graph transformer model to aggregate node representations and predict circuit fidelity based on the graph structure.
  • Train the model on a large dataset of random and algorithmic circuits evaluated on noisy simulators and real quantum hardware.
  • Use the process tomography fidelity (PST) as the ground truth label, validated by strong correlation (Spearman = 0.993) with fidelity.
  • Optimize model performance via ablation studies on feature importance and hyperparameter tuning (e.g., number of layers, shot count).

Experimental results

Research questions

  • RQ1Can a graph neural network effectively model quantum circuit structure and noise propagation to predict fidelity?
  • RQ2How does the inclusion of specific node features (e.g., qubit index, gate type, T1/T2) affect prediction accuracy?
  • RQ3What is the impact of model depth (number of transformer layers) and number of measurement shots on prediction performance?
  • RQ4How does the proposed method compare in accuracy and speed to classical circuit simulation?
  • RQ5Can the model generalize across different quantum hardware backends (simulators and real devices) with varying noise profiles?

Key findings

  • The graph transformer model achieves an average RMSE of 0.04 on test sets, with 0.0236 RMSE on the noisy simulator and 0.0720 on IBM Geneva.
  • The model outperforms a simple feedforward neural network by 0.02 in average RMSE, demonstrating the advantage of graph-based modeling.
  • R² scores reach 0.99 for random circuits and 0.95 for algorithmic circuits, indicating strong predictive performance.
  • The model achieves over 200× speedup compared to classical simulators, with 1.7K× speedup at batch size 10 on an NVIDIA A100 GPU.
  • Ablation studies show that removing 'Qubit Index' or 'Gate Type' features significantly degrades performance, highlighting their importance.
  • Increasing the number of measurement shots in the training data does not consistently improve model accuracy, suggesting noise variability limits shot count benefits.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.