1.3K Star 2K Fork 3.5K

GVPMindSpore / mindquantum

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
mindquantum.core.gates.PhaseDampingChannel.rst 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
donghufeng 提交于 2023-11-02 16:11 . fix docing

mindquantum.core.gates.PhaseDampingChannel

.. py:class:: mindquantum.core.gates.PhaseDampingChannel(gamma: float, **kwargs)

    相位阻尼信道。表示的是量子比特在不跟外界产生能量交换时量子信息的损失。

    相位阻尼信道通常可表示为:

    .. math::

        \begin{gather*}
        \epsilon(\rho) = E_0 \rho E_0^\dagger + E_1 \rho E_1^\dagger
        \\
        \text{其中}\ {E_0}=\begin{bmatrix}1&0\\
                0&\sqrt{1-\gamma}\end{bmatrix},
            \ {E_1}=\begin{bmatrix}0&0\\
                0&\sqrt{\gamma}\end{bmatrix}
        \end{gather*}

    这里 :math:`\rho` 是密度矩阵形式的量子态; :math:`\gamma` 是信息损失系数。

    参数:
        - **gamma** (int, float) - 信息损失系数。

    .. py:method:: define_projectq_gate()

        定义对应的projectq门。

    .. py:method:: get_cpp_obj()

        获取底层c++对象。

    .. py:method:: matrix()

        返回该噪声信道的Kraus算符。

        返回:
            list,包含了该噪声信道的Kraus算符。
Python
1
https://gitee.com/mindspore/mindquantum.git
git@gitee.com:mindspore/mindquantum.git
mindspore
mindquantum
mindquantum
master

搜索帮助