mindquantum.algorithm.compiler.cnry_decompose

mindquantum.algorithm.compiler.cnry_decompose#

mindquantum.algorithm.compiler.cnry_decompose(gate)#

分解一个受控的 RY 门。

参数:
  • gate (RY) - 有零或多个控制位的 RY 门。

返回:

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