Ai
1.8K Star 3.1K Fork 4.3K

GVPMindSpore/mindquantum
暂停

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

mindquantum.algorithm.compiler

.. py:module:: mindquantum.algorithm.compiler


MindQuantum 量子线路编译模块。

Fixed decompose rules

.. mscnautosummary::
    :toctree: compiler
    :nosignatures:
    :template: classtemplate.rst

    mindquantum.algorithm.compiler.ch_decompose
    mindquantum.algorithm.compiler.crx_decompose
    mindquantum.algorithm.compiler.crxx_decompose
    mindquantum.algorithm.compiler.cry_decompose
    mindquantum.algorithm.compiler.cryy_decompose
    mindquantum.algorithm.compiler.cswap_decompose
    mindquantum.algorithm.compiler.ct_decompose
    mindquantum.algorithm.compiler.cy_decompose
    mindquantum.algorithm.compiler.cz_decompose
    mindquantum.algorithm.compiler.rxx_decompose
    mindquantum.algorithm.compiler.ryy_decompose
    mindquantum.algorithm.compiler.rzz_decompose
    mindquantum.algorithm.compiler.cs_decompose
    mindquantum.algorithm.compiler.swap_decompose
    mindquantum.algorithm.compiler.ccx_decompose

Universal decompose rules

.. mscnautosummary::
    :toctree: compiler
    :nosignatures:
    :template: classtemplate.rst

    mindquantum.algorithm.compiler.euler_decompose
    mindquantum.algorithm.compiler.cu_decompose
    mindquantum.algorithm.compiler.qs_decompose
    mindquantum.algorithm.compiler.abc_decompose
    mindquantum.algorithm.compiler.kak_decompose
    mindquantum.algorithm.compiler.tensor_product_decompose

Compiler rules

.. mscnautosummary::
    :toctree: compiler
    :nosignatures:
    :template: classtemplate.rst

    mindquantum.algorithm.compiler.BasicCompilerRule
    mindquantum.algorithm.compiler.KroneckerSeqCompiler
    mindquantum.algorithm.compiler.SequentialCompiler
    mindquantum.algorithm.compiler.BasicDecompose
    mindquantum.algorithm.compiler.CZBasedChipCompiler
    mindquantum.algorithm.compiler.CXToCZ
    mindquantum.algorithm.compiler.CZToCX
    mindquantum.algorithm.compiler.GateReplacer
    mindquantum.algorithm.compiler.FullyNeighborCanceler
    mindquantum.algorithm.compiler.SimpleNeighborCanceler
    mindquantum.algorithm.compiler.compile_circuit

DAG circuit

.. mscnautosummary::
    :toctree: compiler
    :nosignatures:
    :template: classtemplate.rst

    mindquantum.algorithm.compiler.DAGCircuit
    mindquantum.algorithm.compiler.DAGNode
    mindquantum.algorithm.compiler.GateNode
    mindquantum.algorithm.compiler.DAGQubitNode
    mindquantum.algorithm.compiler.connect_two_node
    mindquantum.algorithm.compiler.try_merge
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mindspore/mindquantum.git
git@gitee.com:mindspore/mindquantum.git
mindspore
mindquantum
mindquantum
r0.9

搜索帮助