1.8K Star 3.1K Fork 4.3K

GVPMindSpore/mindquantum

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
.github
.gitlab
.jenkins
_build
ccsrc
cmake
docs
api_python
algorithm
compiler
error_mitigation
library
mapping
nisq
ansatz_images
mindquantum.algorithm.nisq.ASWAP.rst
mindquantum.algorithm.nisq.Ansatz.rst
mindquantum.algorithm.nisq.Ansatz1.rst
mindquantum.algorithm.nisq.Ansatz10.rst
mindquantum.algorithm.nisq.Ansatz11.rst
mindquantum.algorithm.nisq.Ansatz12.rst
mindquantum.algorithm.nisq.Ansatz13.rst
mindquantum.algorithm.nisq.Ansatz14.rst
mindquantum.algorithm.nisq.Ansatz15.rst
mindquantum.algorithm.nisq.Ansatz16.rst
mindquantum.algorithm.nisq.Ansatz17.rst
mindquantum.algorithm.nisq.Ansatz18.rst
mindquantum.algorithm.nisq.Ansatz19.rst
mindquantum.algorithm.nisq.Ansatz2.rst
mindquantum.algorithm.nisq.Ansatz3.rst
mindquantum.algorithm.nisq.Ansatz4.rst
mindquantum.algorithm.nisq.Ansatz5.rst
mindquantum.algorithm.nisq.Ansatz6.rst
mindquantum.algorithm.nisq.Ansatz7.rst
mindquantum.algorithm.nisq.Ansatz8.rst
mindquantum.algorithm.nisq.Ansatz9.rst
mindquantum.algorithm.nisq.HardwareEfficientAnsatz.rst
mindquantum.algorithm.nisq.IQPEncoding.rst
mindquantum.algorithm.nisq.Max2SATAnsatz.rst
mindquantum.algorithm.nisq.MaxCutAnsatz.rst
mindquantum.algorithm.nisq.PCHeaXYZ1F.rst
mindquantum.algorithm.nisq.PCHeaXYZ2F.rst
mindquantum.algorithm.nisq.QubitUCCAnsatz.rst
mindquantum.algorithm.nisq.RYCascade.rst
mindquantum.algorithm.nisq.RYFull.rst
mindquantum.algorithm.nisq.RYLinear.rst
mindquantum.algorithm.nisq.RYRZFull.rst
mindquantum.algorithm.nisq.StronglyEntangling.rst
mindquantum.algorithm.nisq.Transform.rst
mindquantum.algorithm.nisq.UCCAnsatz.rst
mindquantum.algorithm.nisq.ansatz_variance.rst
mindquantum.algorithm.nisq.generate_uccsd.rst
mindquantum.algorithm.nisq.get_qubit_hamiltonian.rst
mindquantum.algorithm.nisq.get_reference_circuit.rst
mindquantum.algorithm.nisq.quccsd_generator.rst
mindquantum.algorithm.nisq.uccsd0_singlet_generator.rst
mindquantum.algorithm.nisq.uccsd_singlet_generator.rst
mindquantum.algorithm.nisq.uccsd_singlet_get_packed_amplitudes.rst
qaia
mindquantum.algorithm.compiler.rst
mindquantum.algorithm.error_mitigation.rst
mindquantum.algorithm.library.rst
mindquantum.algorithm.mapping.rst
mindquantum.algorithm.nisq.rst
mindquantum.algorithm.qaia.rst
core
device
dtype
engine
framework
io
simulator
utils
mindquantum.algorithm.rst
mindquantum.core.rst
mindquantum.device.rst
mindquantum.dtype.rst
mindquantum.engine.rst
mindquantum.framework.rst
mindquantum.io.rst
mindquantum.simulator.rst
mindquantum.utils.rst
overview.rst
api_python_en
source
CMakeLists.txt
Doxyfile
Makefile
MindQuantum-architecture.png
MindQuantum-architecture_EN.png
README.md
circuit_svg.png
index.html.in
mindquantum
mindquantum_config
scripts
tests
third_party
.clang-format
.clangd
.cmake-format.yaml
.codespell.allow
.cppcheck.suppressions
.gitignore
.gitlab-ci.yml
.pre-commit-config-format-gitee.yml
.pre-commit-config-format.yml
.pre-commit-config-gitee.yaml
.pre-commit-config.yaml
.readthedocs.yaml
.whitelizard.txt
.yamllint
CMakeLists.txt
CONTRIBUTING.md
CONTRIBUTING_CN.md
CPPLINT.cfg
INSTALL.md
INSTALL_cn.md
LICENSE
MANIFEST.in
NOTICE
README.md
README_CN.md
RELEASE.md
RELEASE_CN.md
VERSION.txt
build.bat
build.ps1
build.sh
build_locally.bat
build_locally.ps1
build_locally.sh
install_with_docker.md
install_with_docker_en.md
pyproject.toml
requirements.txt
requirements_test.txt
setup.cfg
setup.py
克隆/下载
mindquantum.algorithm.nisq.Ansatz5.rst 749 Bytes
一键复制 编辑 原始数据 按行查看 历史
donghufeng 提交于 2年前 . re-organize docs

mindquantum.algorithm.nisq.Ansatz5

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

    Arxiv 论文中所提及的量子线路5。

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

    请参考论文 `Expressibility and entangling capability of parameterized quantum circuits for hybrid
    quantum-classical algorithms <https://arxiv.org/abs/1905.10876>`_.

    参数:
        - **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.9

搜索帮助