高级检索
卫丽华, 朱鹏程, 管致锦. 基于L-ESOP约简的量子线性电路逻辑综合算法[J]. 计算机辅助设计与图形学学报, 2018, 30(8): 1579-1588. DOI: 10.3724/SP.J.1089.2018.16567
引用本文: 卫丽华, 朱鹏程, 管致锦. 基于L-ESOP约简的量子线性电路逻辑综合算法[J]. 计算机辅助设计与图形学学报, 2018, 30(8): 1579-1588. DOI: 10.3724/SP.J.1089.2018.16567
Wei Lihua, Zhu Pengcheng, Guan Zhijin. Quantum Linear Logic Synthesis Algorithm Based on L-ESOP Reduction[J]. Journal of Computer-Aided Design & Computer Graphics, 2018, 30(8): 1579-1588. DOI: 10.3724/SP.J.1089.2018.16567
Citation: Wei Lihua, Zhu Pengcheng, Guan Zhijin. Quantum Linear Logic Synthesis Algorithm Based on L-ESOP Reduction[J]. Journal of Computer-Aided Design & Computer Graphics, 2018, 30(8): 1579-1588. DOI: 10.3724/SP.J.1089.2018.16567

基于L-ESOP约简的量子线性电路逻辑综合算法

Quantum Linear Logic Synthesis Algorithm Based on L-ESOP Reduction

  • 摘要: 为生成在门数指标上近最优的量子线性电路,提出一种基于L-ESOP表达式约简的量子线性电路逻辑综合算法.首先通过异或运算逐步将量子线性电路每个输出的L-ESOP表达式约简成fi=xi的恒等函数形式,算法执行过程中的每次异或运算均对应一个CNOT门,将这些CNOT门逆序排列便得到结果电路;为进一步降低门数,提出3种前瞻性启发式规则,将这些规则分别应用于算法的3个不同阶段,以最大幅度地减少后续异或操作次数为衡量指标选择算法相应阶段参与异或运算的L-ESOP表达式.实验结果表明,文中算法在综合量子线性电路时所需的CNOT门数少于其他算法,且这种优势随着线路数的增加越发明显,在生成100线电路时所需的平均门数较其他算法降低了21.69%;另外,该算法可在多项式时间内完成,在生成100线电路时平均耗时仅用71.55 ms.

     

    Abstract: In order to generate quantum linear circuits with minimal gates, we propose a L-ESOP reduction-based logic synthesis algorithm. The proposed algorithm keeps transforming L-ESOP via XOR operationuntil the original L-ESOP of every circuit line is turned into identity form. Each XOR operation used inthe transformation process corresponds to a CNOT gate, and the resulting circuit can be derived by arrangingthese CNOT gates in reverse order. Moreover, we present three look-ahead heuristic rules for the proposedalgorithm to make the gate costs of quantum linear circuit as small as possible. These three rules are employedin three different stages of the algorithm respectively, choosing the best XOR solution according tothe weight of the XOR result, which indicates how many variables of L-ESOP can be reduced successively.The experimental evaluations show that the proposed approach clearly outperforms other optimal algorithms.After employing three look-ahead heuristic rules, the proposed algorithm shows great superiority in terms ofgate count over other optimal approach, and this superiority grows along with the growth of circuit lines,when in 100-line circuit-synthesis cases the average gate count of this algorithm is less than other algorithmsby 21.69% at least. Additionally, this algorithm has a polynomial runtime complexity, the average time needed for 100-line circuit-synthesis is only 71.55 ms.

     

/

返回文章
返回