1.3K Star 2K Fork 3.5K

GVPMindSpore / mindquantum

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

mindquantum.core.gates.YGate

.. py:class:: mindquantum.core.gates.YGate

    泡利Y门。矩阵为:

    .. math::

        {\rm Y}=\begin{pmatrix}0&-i\\i&0\end{pmatrix}

    更多用法,请参见 :class:`~.core.gates.XGate`。

    .. py:method:: get_cpp_obj()

        返回该门的c++对象。
Python
1
https://gitee.com/mindspore/mindquantum.git
git@gitee.com:mindspore/mindquantum.git
mindspore
mindquantum
mindquantum
master

搜索帮助