1.7K Star 3K Fork 4.3K

GVPMindSpore/mindquantum

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

mindquantum.algorithm.compiler.compile_circuit

.. py:function:: mindquantum.algorithm.compiler.compile_circuit(compiler: BasicCompilerRule, circ: Circuit)

    直接根据给定的编译规则,编译一个量子线路。

    参数:
        - **compiler** (:class:`~.algorithm.compiler.BasicCompilerRule`) - 编译规则。
        - **circ** (:class:`~.core.circuit.Circuit`) - 想要编译的量子线路。

    返回:
        :class:`~.core.circuit.Circuit`,编译后的量子线路。
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mindspore/mindquantum.git
git@gitee.com:mindspore/mindquantum.git
mindspore
mindquantum
mindquantum
r0.9

搜索帮助