2x2 compact representation of a 4x4 controlled-phase gate.
T[c, t] = 1 except T[1, 1] = exp(i*phi). Yao emits this form for
diagonal controlled-phase gates; we match it so tensor values align
with Julia goldens element-wise.
- Parameters:
phi (float)
- Return type:
Array