apply_kraus_ops_2_state

forest.benchmarking.operator_tools.apply_superoperator.apply_kraus_ops_2_state(kraus_ops: Sequence[numpy.ndarray], state: numpy.ndarray) → numpy.ndarray

Apply a quantum channel, specified by Kraus operators, to state.

The Kraus operators need not be square.

Parameters:
  • kraus_ops – A list or tuple of N Kraus operators, each operator is M by dim ndarray
  • state – A dim by dim ndarray which is the density matrix for the state
Returns:

M by M ndarray which is the density matrix for the state after the action of kraus_ops