cirq_rigetti.quil_input.xy

Returns an ISWAP-family gate as a Cirq ISwapPowGate with exponent

determined by the input param. The angle parameter of pyQuil's XY gate and the exponent of Cirq's ISwapPowGate differ by a factor of pi.

param Gate parameter (in radians).

An ISwapPowGate equivalent to an XY gate of given angle.