cirq_rigetti.quil_input.remove_gate_from_kraus

Recover the kraus operators from a kraus composed with a gate.

This function is the reverse of append_kraus_to_gate.

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

The noise channel without the gate unitary.