cirq.H = cirq.H

A Gate that performs a rotation around the X+Z axis of the Bloch sphere.

The unitary matrix of HPowGate(exponent=t) is:

[[(c-i·s/sqrt(2)), -i·g·s/sqrt(2)],
[-i·g·s/sqrt(2)], (c+i·s/sqrt(2))]]


c = cos(π·t/2)
s = sin(π·t/2)
g = exp(i·π·t/2).

Note in particular that for t=1, this gives the Hadamard matrix.

cirq.H, the Hadamard gate, is an instance of this gate at exponent=1.