mindquantum.core.gates.ZGate

mindquantum.core.gates.ZGate#

class mindquantum.core.gates.ZGate#

Pauli-Z gate.

Pauli Z gate with matrix as:

\[\begin{split}{\rm Z}=\begin{pmatrix}1&0\\0&-1\end{pmatrix}\end{split}\]

More usage, please see XGate.

get_cpp_obj()#

Construct cpp obj.