Ai
1.8K Star 3.1K Fork 4.3K

GVPMindSpore/mindquantum
暂停

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mindquantum.algorithm.nisq.RYFull.rst 836 Bytes
一键复制 编辑 原始数据 按行查看 历史
donghufeng 提交于 2023-11-30 14:54 +08:00 . add more HEA ansatz and reference circuit

mindquantum.algorithm.nisq.RYFull

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

    以 :class:`~.core.gates.RY` 门作为单比特门,以两两比特都有作用的 CNOT 门作为纠缠门的硬件友好型线路。

    .. image:: ./ansatz_images/RYFull.png
        :height: 180px

    请参考论文 `Challenges in the Use of Quantum Computing Hardware-Efficient Ansätze in Electronic Structure Theory <https://pubs.acs.org/doi/10.1021/acs.jpca.2c08430>`_.

    参数:
        - **n_qubits** (int) - 量子线路的总比特数。
        - **depth** (int) - ansatz 的循环层数。
        - **prefix** (str) - 参数的前缀。默认值: ``''``。
        - **suffix** (str) - 参数的后缀。默认值: ``''``。
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mindspore/mindquantum.git
git@gitee.com:mindspore/mindquantum.git
mindspore
mindquantum
mindquantum
r0.10

搜索帮助