Journals / CMC / Vol.62, No.3
Table of Content

Research Article


An Extended Approach for Generating Unitary Matrices for Quantum Circuits

Zhiqiang Li1, *, Wei Zhang1, Gaoman Zhang1, Juan Dai1, Jiajia Hu1, Marek Perkowski2, Xiaoyu Song2
1 College of Information Engineering, Yangzhou University, Yangzhou, 225000, China.
2 Department of Electrical & Computer Engineering, Portland State University, Portland, Oregon, USA.
* Corresponding Author: Zhiqiang Li. Email: .


In this paper, we do research on generating unitary matrices for quantum circuits automatically. We consider that quantum circuits are divided into six types, and the unitary operator expressions for each type are offered. Based on this, we propose an algorithm for computing the circuit unitary matrices in detail. Then, for quantum logic circuits composed of quantum logic gates, a faster method to compute unitary matrices of quantum circuits with truth table is introduced as a supplement. Finally, we apply the proposed algorithm to different reversible benchmark circuits based on NCT library (including NOT gate, Controlled-NOT gate, Toffoli gate) and generalized Toffoli (GT) library and provide our experimental results.


Quantum circuit, unitary matrix, quantum logic gate, reversible circuit, truth table.
  • 3171


  • 2023


  • 100


Share Link

WeChat scan