1.3K Star 2K Fork 3.6K

GVPMindSpore / mindquantum

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

mindquantum.core.circuit.UN

.. py:class:: mindquantum.core.circuit.UN(gate: BasicGate, maps_obj, maps_ctrl=None)

    将量子门映射到多个目标量子位和控制量子位。

    参数:
        - **gate** (BasicGate) - 量子门。
        - **maps_obj** (Union[int, list[int]]) - 目标量子比特。
        - **maps_ctrl** (Union[int, list[int]]) - 控制量子比特。默认值: ``None`` 。

    返回:
        Circuit,返回一个量子线路。
Python
1
https://gitee.com/mindspore/mindquantum.git
git@gitee.com:mindspore/mindquantum.git
mindspore
mindquantum
mindquantum
master

搜索帮助