
Linear Nearest Neighbor Quantum Circuit Synthesis and Optimization Based on the Matrix
LU Yu, GUAN Zhi-jin, CHENG Xue-yun, TAN Ying-ying, ZHANG Zong-yuan
ACTA ELECTRONICA SINICA ›› 2018, Vol. 46 ›› Issue (3) : 688-694.
Linear Nearest Neighbor Quantum Circuit Synthesis and Optimization Based on the Matrix
In order to construct linear nearest neighbor(LNN) quantum circuit and reduce its total quantum cost, a matrix-based synthesis and optimization method is proposed. The linear reversible circuit is represented by matrix, and the CNOT(Controlled NOT Gate) analysis based on the matrix is put forward. The best strategy of matrix partition is given, which ensures the number of CNOT gate used in the circuit synthesis is optimal. The matrix representation of swap gate and the NN(Nearest Neighbor) rules are proposed to realize the LNN circuits. The equivalence of two insertion methods of swap gates is proven. Deletion rules of swap gates which are used to make gates adjacent to NN in different cases are proposed, and they can reduce the quantum cost. Experimental results on typical benchmark circuits and comparison against previous algorithms for LNN quantum circuit optimization, the average optimization rate in quantum cost is 34. 31%.
quantum circuit / matrix transformation / linear nearest neighbor / circuit synthesis / optimization / quantum cost {{custom_keyword}} /
/
〈 |
|
〉 |