mindquantum.core.gates.ZGate ============================= .. py:class:: mindquantum.core.gates.ZGate 泡利Z门。矩阵为: .. math:: {\rm Z}=\begin{pmatrix}1&0\\0&-1\end{pmatrix} 更多用法,请参见 :class:`~.core.gates.XGate`。 .. py:method:: get_cpp_obj() 返回该门的c++对象。