Vol.62, No.3, 2020, pp.1413-1421, doi:10.32604/cmc.2020.07483
OPEN ACCESS
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: yzqqlzq@163.com.
Abstract
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.
Keywords
Quantum circuit, unitary matrix, quantum logic gate, reversible circuit, truth table.
Cite This Article
Li, Z., Zhang, W., Zhang, G., Dai, J., Hu, J. et al. (2020). An Extended Approach for Generating Unitary Matrices for Quantum Circuits. CMC-Computers, Materials & Continua, 62(3), 1413–1421.