mindquantum.core.gates.YGate

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

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

Construct cpp obj.