1.4K Star 2.3K Fork 3.8K

GVPMindSpore/mindquantum

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
mindquantum.core.circuit.QubitIDConstrain.rst 496 Bytes
Copy Edit Raw Blame History
donghufeng authored 2023-11-02 16:11 . fix docing

mindquantum.core.circuit.QubitIDConstrain

.. py:class:: mindquantum.core.circuit.QubitIDConstrain(qubit_ids: typing.Union[int, typing.List[int]], add_after: bool = True)

    只将噪声信道作用在给定比特序号的量子门上。

    参数:
        - **qubit_ids** (Union[int, List[int]]) - 想要选择的比特序号的列表。
        - **add_after** (bool) - 在量子门前面或者后面添加量子信道。默认值: ``True``。
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mindspore/mindquantum.git
git@gitee.com:mindspore/mindquantum.git
mindspore
mindquantum
mindquantum
r0.9

Search