cirq_google.optimizers.convert_to_sqrt_iswap.iswap_to_sqrt_iswap

Implement the evolution of the hopping term using two sqrt_iswap gates

and single-qubit operations. Output unitary: [1 0 0 0], [0 c is 0], [0 is c 0], [0 0 0 1], where c = cos(t * np.pi / 2) and s = sin(t * np.pi / 2).

a the first qubit
b the second qubit
t Exponent that specifies the evolution time in number of rotations.