choi2superop

forest.benchmarking.operator_tools.superoperator_transformations.choi2superop(choi: numpy.ndarray) → numpy.ndarray

Convert a choi matrix into a superoperator. The operation acts equivalently to superop2choi, as it is a bijection.

Parameters:choi – a dim**2 by dim**2 choi matrix
Returns:dim**2 by dim**2 superoperator