Reproduce “Q-fid: Quantum Circuit Fidelity Improvement with LSTM Networks” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yikai Mao, Shaswot Shresthamali, Masaaki Kondo

Q-fid, a system developed at Keio University and Kyushu University, accurately predicts quantum circuit execution fidelity on Noisy Intermediate-Scale Quantum (NISQ) devices using an LSTM network and a novel text-based circuit representation, outperforming Qiskit's `mapomatic` by up to 24.7 times in accuracy. The approach enables dynamic adaptation to hardware changes with minimal retraining data, improving resource efficiency by guiding optimal transpilation choices.

Key insights

  • Quantum circuits can be effectively represented as text sequences, enabling NLP-inspired machine learning techniques like LSTMs for fidelity prediction.
  • An LSTM can implicitly learn complex, dynamic noise characteristics from historical circuit execution data, eliminating the need for explicit hardware calibration.
  • A new fidelity metric, discrete coefficient of determination (d-R^2), provides an intuitive and comprehensive measure for noisy quantum circuit outputs, establishing a clear baseline at the uniform distribution.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.