mindquantum.core.gates.TGate#

class mindquantum.core.gates.TGate#

T门。矩阵为:

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

更多用法,请参见 XGate

get_cpp_obj()#

返回该门的c++对象。