CNOTDihedral.phase

CNOTDihedral.phase(k, i)[source]

Apply an k-th power of T to this element. Left multiply the element by T_i^k.