mindquantum.core.gates.SGate

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

S gate.

S gate with matrix as :

\[\begin{split}{\rm S}=\begin{pmatrix}1&0\\0&i\end{pmatrix}\end{split}\]

More usage, please see XGate.

get_cpp_obj()[source]

Construct cpp obj.