cirq.google.optimizers.convert_to_sqrt_iswap.cphase_to_sqrt_iswap

Implement a C-Phase gate using two sqrt ISWAP gates and single-qubit

operations. The circuit is equivalent to cirq.CZPowGate(exponent=turns).

Output unitary:

[1 0 0 0], [0 1 0 0], [0 0 1 0], [0 0 0 e^{i turns pi}].

a the first qubit
b the second qubit
turns Exponent specifying the evolution time in number of rotations.