mindquantum.core.gates.YGate

mindquantum.core.gates.YGate#

class mindquantum.core.gates.YGate#

Pauli Y gate.

Pauli Y gate with matrix as:

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

More usage, please see XGate.

get_cpp_obj()#

Construct cpp obj.