mindquantum.core.gates.TGate

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

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

Construct cpp obj.