1.8K Star 3.1K Fork 4.3K

GVPMindSpore/mindquantum

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

mindquantum.simulator.NoiseBackend

.. py:class:: mindquantum.simulator.NoiseBackend(base_sim: str, n_qubits: int, adder: ChannelAdderBase, seed: int = None, dtype=None)

    基于噪声信道的含噪模拟器。

    参数:
        - **base_sim** (str) - MindQuantum 支持的量子模拟器。
        - **n_qubits** (int) - 该噪声模拟器的比特数。
        - **adder** (:class:`~.core.circuit.ChannelAdderBase`) - 一个信道添加器,可以将一个量子线路转化为噪声线路。
        - **seed** (int) - 一个随机种子。默认值: ``None``。
        - **dtype** (mindquantum.dtype) - 模拟器的数据类型。如果为 ``None``,将选取为 mindquantum.complex128。默认值: ``None``。
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mindspore/mindquantum.git
git@gitee.com:mindspore/mindquantum.git
mindspore
mindquantum
mindquantum
r0.9

搜索帮助