mindquantum.core.gates.IGate

mindquantum.core.gates.IGate#

class mindquantum.core.gates.IGate#

Identity gate.

Identity gate with matrix as:

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

More usage, please see XGate.

get_cpp_obj()#

Construct cpp obj.