Entropy (Mar 2023)

A Method Based on Timing Weight Priority and Distance Optimization for Quantum Circuit Transformation

  • Yang Qian,
  • Zhijin Guan,
  • Shenggen Zheng,
  • Shiguang Feng

DOI
https://doi.org/10.3390/e25030465
Journal volume & issue
Vol. 25, no. 3
p. 465

Abstract

Read online

In order to implement a quantum circuit on an NISQ device, it must be transformed into a functionally equivalent circuit that satisfies the device’s connectivity constraints. However, NISQ devices are inherently noisy, and minimizing the number of SWAP gates added to the circuit is crucial for reducing computation errors. To achieve this, we propose a subgraph isomorphism algorithm based on the timing weight priority of quantum gates, which provides a better initial mapping for a specific two-dimensional quantum architecture. Additionally, we introduce a heuristic swap sequence selection optimization algorithm that uses a distance optimization measurement function to select the ideal sequence and reduce the number of SWAP gates, thereby optimizing the circuit transformation. Our experiments demonstrate that our proposed algorithm is effective for most benchmark quantum circuits, with a maximum optimization rate of up to 43.51% and an average optimization rate of 13.51%, outperforming existing related methods.

Keywords