English

Improving the Fidelity of CNOT Circuits on NISQ Hardware

Quantum Physics 2024-05-31 v1 Information Theory math.IT

Abstract

We introduce an improved CNOT synthesis algorithm that considers nearest-neighbour interactions and CNOT gate error rates in noisy intermediate-scale quantum (NISQ) hardware. Compared to IBM's Qiskit compiler, it improves the fidelity of a synthesized CNOT circuit by about 2 times on average (up to 9 times). It lowers the synthesized CNOT count by a factor of 13 on average (up to a factor of 162). Our contribution is twofold. First, we define a Cost\textsf{Cost} function by approximating the average gate fidelity FavgF_{avg}. According to the simulation results, Cost\textsf{Cost} fits the error probability of a noisy CNOT circuit, Prob=1Favg\textsf{Prob} = 1 - F_{avg}, much tighter than the commonly used cost functions. On IBM's fake Nairobi backend, it matches Prob\textsf{Prob} to within 10310^{-3}. On other backends, it fits Prob\textsf{Prob} to within 10110^{-1}. Cost\textsf{Cost} accurately quantifies the dynamic error characteristics and shows remarkable scalability. Second, we propose a noise-aware CNOT routing algorithm, NAPermRowCol, by adapting the leading Steiner-tree-based connectivity-aware CNOT synthesis algorithms. A weighted edge is used to encode a CNOT gate error rate and Cost\textsf{Cost}-instructed heuristics are applied to each reduction step. NAPermRowCol does not use ancillary qubits and is not restricted to certain initial qubit maps. Compared with algorithms that are noise-agnostic, it improves the fidelity of a synthesized CNOT circuit across varied NISQ hardware. Depending on the benchmark circuit and the IBM backend selected, it lowers the synthesized CNOT count up to 56.95%56.95\% compared to ROWCOL and up to 21.62%21.62\% compared to PermRowCol. It reduces the synthesis Cost\textsf{Cost} up to 25.71%25.71\% compared to ROWCOL and up to 9.12%9.12\% compared to PermRowCol. Our method can be extended to route a more general quantum circuit, giving a powerful new tool for compiling on NISQ devices.

Keywords

Cite

@article{arxiv.2405.19891,
  title  = {Improving the Fidelity of CNOT Circuits on NISQ Hardware},
  author = {Dohun Kim and Minyoung Kim and Sarah Meng Li and Michele Mosca},
  journal= {arXiv preprint arXiv:2405.19891},
  year   = {2024}
}

Comments

67 pages, 33 figures, and 9 tables