mindquantum.algorithm.compiler.ct_decompose

mindquantum.algorithm.compiler.ct_decompose#

mindquantum.algorithm.compiler.ct_decompose(gate)#

分解一个受控的 TGate 门。

参数:
  • gate (TGate) - 有一个控制位的 TGate 门。

返回:

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