• Chinese Journal of Quantum Electronics
  • Vol. 40, Issue 4, 560 (2023)
ZHU Mingqiang, SHEN Wenjie, NIU Yiren, ZHANG Chao..., CHENG Xueyun*, GUAN Zhijin and CHEN Liang|Show fewer author(s)
Author Affiliations
  • School of Information Science and Technology, Nantong University, Nantong 226019, China
  • show less
    DOI: 10.3969/j.issn.1007-5461.2023.04.015 Cite this Article
    Mingqiang ZHU, Wenjie SHEN, Yiren NIU, Chao ZHANG, Xueyun CHENG, Zhijin GUAN, Liang CHEN. Reliability⁃oriented nearest neighbor synthesis of CNOT quantum circuits[J]. Chinese Journal of Quantum Electronics, 2023, 40(4): 560 Copy Citation Text show less
    CNOT gate
    Fig. 1. CNOT gate
    CNOT circuit
    Fig. 2. CNOT circuit
    ibmq_5_yorktownarchitecture
    Fig. 3. ibmq_5_yorktownarchitecture
    An example of update the original Boolean matrix. (a) The initial mapping graph; (b) The original Boolean matrix; (c) The initial mapping Boolean matrix
    Fig. 4. An example of update the original Boolean matrix. (a) The initial mapping graph; (b) The original Boolean matrix; (c) The initial mapping Boolean matrix
    An example of Steiner-tree elimination. (a) Elimination of the first column of a Boolean matrix; (b) Eliminates qubit 3 and 4 with Steiner-Tree
    Fig. 5. An example of Steiner-tree elimination. (a) Elimination of the first column of a Boolean matrix; (b) Eliminates qubit 3 and 4 with Steiner-Tree
    Comparison of CNOT gate cost
    Fig. 6. Comparison of CNOT gate cost

    算法1: 噪声感知的CNOT量子线路Steiner消除综合算法(NASR)

    输入:

    任意CNOT量子线路对应的布尔矩阵matrix, 当前架构名architecture

    输出:

    近邻化综合中CNOT门的代价CNOT_gates

    step1:

    获取矩阵的阶数N, 给定当前循环变量 n=0, CNOT门代价数 CNOT_gates = 0.

    step2:

    n<N, 设置Steiner消除方式为向下消除, 标志位 uppe 为true, 获取第n列值为"1"的量子位, 生成向下消除Steiner树, 否则执行step5.

    step3:

    确定需要被消的叶子结点j, 在集合W[i][j]中查找满足条件的最小Steiner噪声路径, 获取可以用来消除量子位j的量子位i.

    step4:

    完从量子位ij的Steiner消除, 矩阵每执行一行异或操作, CNOT_gates加1.

    4.1:若 upper 为true, n++, 执行step2, 否则执行4.2.

    4.2:n--, 执行step5.

    step5:

    n>0, 设置Steiner消除方式为向上消除, 标志位 upper 为false, 获取第n列值为"1"的量子位, 生成向上消除Steiner树, 执行step3.

    step6:

    输出CNOT_gates, 并存储到CNOT_gates.csv文件中.

    step7:

    算法结束.

    Table 0. [in Chinese]
    LineIdentity matrixBoolean matrix
    a10011011
    b
    Table 1. Boolean matrix representation of a CNOT gate
    QubitT1/μsT2/μsSingle-qubit Pauli-X errorCNOT error
    Q041.1722.742.26×10-30_2:4.18×10-2; 0_1:1.123×10-2
    Q167.1325.991.23×10-31_2:1.018×10-2; 1_0:1.123×10-2
    Q271.8969.814.96×10-4

    2_4:1.463×10-2; 2_3:1.118×10-2;2_1:1.018×10-2;

    2_0:4.18×10-2

    Q346.7329.124.11×10-43_4:1.429×10-2; 3_2:1.118×10-2
    Q454.541.676.53×10-44_2:1.463×10-2; 4_3:1.429×10-2
    Table 2. Calibration data of ibmq_5_yorktown
    Table 3. The nearest neighbor synthesis process of CNOT quantum circuits
    NO.SizeMin noise path lengthReduction1Imp1/%
    HANASR
    120.02960.0370-0.0074-25.11
    240.05770.0676-0.0098-17.03
    350.05910.0786-0.0196-33.10
    480.09370.1270-0.0333-35.60
    5100.10970.1348-0.0251-22.88
    6150.18220.15180.030416.68
    7200.22460.17490.049722.11
    8300.32130.14150.179855.96
    9400.43390.15930.274663.29
    10800.92040.14760.772783.96
    111001.17930.17521.004185.14
    122002.35050.16222.188393.10
    Table 4. Comparison of noise path length
    NO.SizeAdjacent CNOT gate countsReduction2Imp2/%
    HANASR
    121.651.9-0.25-15.15
    243.153.35-0.20-6.35
    353.34.05-0.75-22.73
    484.656.25-1.60-34.41
    5105.76.8-1.10-19.30
    6159.37.71.6017.20
    72011.78.752.9525.21
    83016.87.159.6557.44
    94023.18.115.0064.94
    108050.257.2543.0085.57
    1110064.88.9555.8586.19
    12200130.358.1122.2593.79
    Table 5. Comparison of adjacent CNOT gate counts
    Mingqiang ZHU, Wenjie SHEN, Yiren NIU, Chao ZHANG, Xueyun CHENG, Zhijin GUAN, Liang CHEN. Reliability⁃oriented nearest neighbor synthesis of CNOT quantum circuits[J]. Chinese Journal of Quantum Electronics, 2023, 40(4): 560
    Download Citation