choi2kraus¶
-
forest.benchmarking.operator_tools.superoperator_transformations.
choi2kraus
(choi: numpy.ndarray, tol: float = 1e-09) → List[numpy.ndarray]¶ Converts a Choi matrix into a list of Kraus operators. (operators with small norm may be excluded)
Parameters: - choi – a dim**2 by dim**2 choi matrix
- tol – optional threshold parameter for eigenvalues/kraus ops to be discarded
Returns: list of Kraus operators