mindquantum.algorithm.nisq.RYFull ================================= .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/r2.2/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindquantum/blob/r0.9/docs/api_python/algorithm/nisq/mindquantum.algorithm.nisq.RYFull.rst :alt: 查看源文件 .. 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 `_. 参数: - **n_qubits** (int) - 量子线路的总比特数。 - **depth** (int) - ansatz 的循环层数。 - **prefix** (str) - 参数的前缀。默认值: ``''``。 - **suffix** (str) - 参数的后缀。默认值: ``''``。