Chinese Journal of Quantum Electronics

Previous Articles     Next Articles

A Synthesis Algorithm of Quantum Circuit based on Look-ahead Influencing Factors

Liu Yang, Cheng Xue-yun, Guan Zhi-jin*, Tan Ying-ying, Wang Yi-zhen   

  1. College of Computer Science and Technology, Nantong University, Nantong 226019, China
  • Published:2019-01-28 Online:2019-01-17

Abstract: To resolve the problem of circuit synthesis and quantum cost optimization in linear nearest neighboring of quantum circuits, this paper proposed an algorithm that considers prospective influencing factors for synthesizing and optimizing the linear nearest neighbor quantum circuit. For any given non-nearest neighbor quantum circuit, the algorithm could separately measure the impact of operating the current quantum gate with different methods on the nearest neighbor cost of the subsequent quantum gate and reduce the number of SWAP gates required for the near-neighboring process of adjacent quantum gates, so as to facilitate constructing and optimizing the linear nearest neighbor quantum circuit. In this study, experiments were conducted with the typical Benchmark examples, and the results of the logic synthesis algorithms for linear nearest neighbor circuit were compared among the representative and comparable research findings. The results showed that the proposed optimization algorithm made a great improvement in adding the incremental SWAP gates. Specifically, among the 22 Benchmark examples, 18(81.82%) were positively optimized, with an average positive optimization rate of 18.32%, and an average optimization rate of 11.75%.

Key words: quantum circuit, linear nearest neighbor(LNN), look-ahead algorithm, reversible logic