cirq.Y¶
-
cirq.Y= cirq.Y¶ A gate that rotates around the Y axis of the Bloch sphere.
The unitary matrix of
YPowGate(exponent=t)is:[[g·c, g·s], [-g·s, g·c]]
where:
c = cos(π·t/2) s = sin(π·t/2) g = exp(i·π·t/2).
Note in particular that this gate has a global phase factor ofe^{i·π·t/2} vs the traditionally defined rotation matricesabout the Pauli Y axis. Seecirq.Ryfor rotations without the globalphase. The global phase factor can be adjusted by using theglobal_shiftparameter when initializing.cirq.Y, the Pauli Y gate, is an instance of this gate at exponent=1.