mindquantum.core.gates.ZGate

View Source On Gitee
class mindquantum.core.gates.ZGate[source]

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()[source]

Construct cpp obj.