![]() |
Returns an ISWAP-family gate as a Cirq ISwapPowGate with exponent
cirq_rigetti.quil_input.xy(
param: float
) -> ISwapPowGate
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.
Args | |
---|---|
param
|
Gate parameter (in radians). |
Returns | |
---|---|
An ISwapPowGate equivalent to an XY gate of given angle. |