mindquantum.algorithm.compiler.cs_decompose

mindquantum.algorithm.compiler.cs_decompose#

mindquantum.algorithm.compiler.cs_decompose(gate)#

分解一个受控的 SGate 门。

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

返回:

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