mindquantum.algorithm.compiler.crx_decompose

mindquantum.algorithm.compiler.crx_decompose#

mindquantum.algorithm.compiler.crx_decompose(gate)#

分解一个受控的 RX 门。

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

返回:

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