cirq_google.optimizers.convert_to_sycamore_gates.swap_rzz

An implementation of SWAP * EXP(1j theta ZZ) using three sycamore gates.

This builds off of the zztheta method. A sycamore gate following the zz-gate is a SWAP EXP(1j (THETA - pi/24) ZZ).

theta exp(1j * theta )
q0 First qubit id to operate on
q1 Second qubit id to operate on

The circuit that implements ZZ followed by a swap