proj_choi_to_completely_positive

forest.benchmarking.operator_tools.project_superoperators.proj_choi_to_completely_positive(choi: numpy.ndarray, check_finite: bool = True) → numpy.ndarray

Projects the Choi representation of a process into the nearest Choi matrix in the space of completely positive maps.

Equation 8 of [PGD]

Parameters:
  • choi – Choi representation of a process
  • check_finite – check that the input matrices contain only finite numbers.
Returns:

closest Choi matrix in the space of completely positive maps