T operation

Applies the $\pi / 8$ gate to a single qubit,

\begin{align} T \mathrel{:=} \begin{bmatrix} 1 & 0 \\ 0 & e^{i \pi / 4} \end{bmatrix}. \end{align}

operation T (qubit : Qubit) : ()
Functors
Adjoint Controlled

Input

qubit
Qubit

Qubit to which the gate should be applied.

Output

()