1.3K Star 2K Fork 3.6K

GVPMindSpore / mindquantum

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

mindquantum.algorithm.compiler.connect_two_node

.. py:function:: mindquantum.algorithm.compiler.connect_two_node(father_node: DAGNode, child_node: DAGNode, local_index: int)

    通过局域的腿编号,将两个节点连接起来。

    参数:
        - **father_node** (:class:`~.algorithm.compiler.DAGNode`) - 父 DAG 节点。
        - **child_node** (:class:`~.algorithm.compiler.DAGNode`) - 子 DAG 节点。
        - **local_index** (int) - 想要连接的腿的编号。
Python
1
https://gitee.com/mindspore/mindquantum.git
git@gitee.com:mindspore/mindquantum.git
mindspore
mindquantum
mindquantum
master

搜索帮助