mindquantum.algorithm.compiler.swap_decompose

mindquantum.algorithm.compiler.swap_decompose#

mindquantum.algorithm.compiler.swap_decompose(gate)#

分解一个 SWAPGate 门。

参数:
返回:

List[Circuit],可能的分解方式。