The T gate is a single-qubit operation given by:
The T gate is related to the S gate by the relationship .
The conjugate transpose of the T gate is defined by:
Examples:
T q[0] # execute T gate on qubit 0
Tdag q[1:2,5] # execute transpose conjugate of T gate on qubits 1,2 and 5