mindquantum.core.gates.HGate# class mindquantum.core.gates.HGate# Hadamard门。矩阵为: \[\begin{split}{\rm H}=\frac{1}{\sqrt{2}}\begin{pmatrix}1&1\\1&-1\end{pmatrix}\end{split}\] 更多用法,请参见 XGate。 get_cpp_obj()# 返回该门的c++对象。