cirq_rigetti.quil_input.defgate_to_cirq

THIS FUNCTION IS DEPRECATED.

IT WILL BE REMOVED IN cirq v1.6.

Cirq-Rigetti is deprecated. For more details or to provide feedback see https://github.com/quantumlib/Cirq/issues/7058

Convert a Quil DefGate to a Cirq Gate class.

For non-parametric gates, it's recommended to create `MatrixGate` object. This function is
intended for the case of parametric gates.

Args:
    defgate: A quil gate defintion.
Returns:
    A subclass of `Gate` corresponding to the DefGate.