qiskit/quantum_info/operators/channel/quantum_channel.py
def is_cptp(self, atol=None, rtol=None):
        """Return True if completely-positive trace-preserving (CPTP)."""
        choi = _to_choi(self.rep, self._data, *self.dim)
        return self._is_cp_helper(choi, atol, rtol) and self._is_tp_helper(
            choi, atol, rtol)
def is_cptp(self, atol=None, rtol=None):
        """Return True if completely-positive trace-preserving (CPTP)."""
        choi = _to_choi(self.rep, self._data, *self.dim)
        return self._is_cp_helper(choi, atol, rtol) and self._is_tp_helper(
            choi, atol, rtol)
def is_cptp ( self , atol = None , rtol = None ) : choi = _to_choi ( self . rep , self . _data , * self . dim ) return self . _is_cp_helper ( choi , atol , rtol ) and self . _is_tp_helper ( choi , atol , rtol )
Return True if completely-positive trace-preserving (CPTP).
Return True if completely - positive trace - preserving ( CPTP ) .