![]() |
Recover the kraus operators from a kraus composed with a gate.
cirq_rigetti.quil_input.remove_gate_from_kraus(
kraus_ops: List[NDArray[np.complex_]], gate_matrix: NDArray[np.complex_]
)
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. |