1.8K Star 3K Fork 4.3K

GVPMindSpore/mindquantum

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

mindquantum.algorithm.nisq.StronglyEntangling

.. py:class:: mindquantum.algorithm.nisq.StronglyEntangling(n_qubits: int, depth: int, entangle_gate: BasicGate, prefix: str = '', suffix: str = '')

    强纠缠ansatz。请参考 `Circuit-centric quantum classifiers <https://arxiv.org/pdf/1804.00633.pdf>`_。

    参数:
        - **n_qubits** (int) - ansatz作用于多少个量子比特。
        - **depth** (int) - ansatz的深度。
        - **entangle_gate** (BasicGate) - 产生纠缠的量子门。
          如果传入单量子比特门,则会添加一个控制量子比特,
          如果传入双量子比特门,则该双量子比特门将作用于不同的量子比特。
        - **prefix** (str) - 参数的前缀。默认值: ``''``。
        - **suffix** (str) - 参数的后缀。默认值: ``''``。
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mindspore/mindquantum.git
git@gitee.com:mindspore/mindquantum.git
mindspore
mindquantum
mindquantum
master

搜索帮助