mindquantum.core.gates.TGate

mindquantum.core.gates.TGate#

class mindquantum.core.gates.TGate#

T gate.

T gate with matrix as :

\[\begin{split}{\rm T}=\begin{pmatrix}1&0\\0&(1+i)/\sqrt(2)\end{pmatrix}\end{split}\]

More usage, please see XGate.

get_cpp_obj()#

Construct cpp obj.