superop2choi¶
-
forest.benchmarking.operator_tools.superoperator_transformations.
superop2choi
(superop: numpy.ndarray) → numpy.ndarray¶ Convert a superoperator into a choi matrix. The operation acts equivalently to choi2superop, as it is a bijection.
Parameters: superop – a dim**2 by dim**2 superoperator Returns: dim**2 by dim**2 choi matrix