def is_tp(self, atol=None, rtol=None):
        """Test if a channel is completely-positive (CP)"""
        choi = _to_choi(self.rep, self._data, *self.dim)
        return self._is_tp_helper(choi, atol, rtol)
def is_tp(self, atol=None, rtol=None):
        
        choi = _to_choi(self.rep, self._data, *self.dim)
        return self._is_tp_helper(choi, atol, rtol)
def is_tp ( self , atol = None , rtol = None ) : choi = _to_choi ( self . rep , self . _data , * self . dim ) return self . _is_tp_helper ( choi , atol , rtol )
Test if a channel is completely-positive (CP)
Test if a channel is completely - positive ( CP )