tequila.circuit.gates.T

tequila.circuit.gates.T(target: Union[list, int], control: Union[list, int] = None)[source]

\(T = \begin{pmatrix} 1 & 0 \\ 0 & e^{i\frac{\pi}{4}} \end{pmatrix}\)

Notes

Fixed phase gate

\[\begin{split}T = \begin{pmatrix} 1 & 0 \\ 0 & e^{i\frac{\pi}{4}} \end{pmatrix}\end{split}\]
Parameters
  • target – int or list of int

  • control – int or list of int

Returns

Return type

QCircuit object