1.3K Star 2K Fork 3.5K

GVPMindSpore / mindquantum

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
mindquantum.algorithm.compiler.ct_decompose.rst 442 Bytes
一键复制 编辑 原始数据 按行查看 历史
donghufeng 提交于 2023-11-01 01:16 . re-organize docs

mindquantum.algorithm.compiler.ct_decompose

.. py:function:: mindquantum.algorithm.compiler.ct_decompose(gate: gates.TGate)

    分解一个受控的 :class:`~.core.gates.TGate` 门。

    参数:
        - **gate** (:class:`~.core.gates.TGate`) - 有一个控制位的 :class:`~.core.gates.TGate` 门。

    返回:
        List[:class:`~.core.circuit.Circuit`],可能的分解方式。
Python
1
https://gitee.com/mindspore/mindquantum.git
git@gitee.com:mindspore/mindquantum.git
mindspore
mindquantum
mindquantum
master

搜索帮助