mindquantum.algorithm.compiler.ch_decompose

mindquantum.algorithm.compiler.ch_decompose#

mindquantum.algorithm.compiler.ch_decompose(gate)#

分解一个受控的 HGate 门。

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

返回:

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