cirq_rigetti.quil_input.remove_gate_from_kraus

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

Recover the kraus operators from a kraus composed with a gate. This function is the reverse of append_kraus_to_gate.

Args:
    kraus_ops: A list of Kraus Operators.
    gate_matrix: The gate unitary.

Returns:
    The noise channel without the gate unitary.