Zhiqiang Li1, *, Wei Zhang1, Gaoman Zhang1, Juan Dai1, Jiajia Hu1, Marek Perkowski2, Xiaoyu Song2
CMC-Computers, Materials & Continua, Vol.62, No.3, pp. 1413-1421, 2020, DOI:10.32604/cmc.2020.07483
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, More >