qiskit/quantum_info/operators/operator.py
def is_unitary(self, atol=None, rtol=None):
        """Return True if operator is a unitary matrix."""
        if atol is None:
            atol = self._atol
        if rtol is None:
            rtol = self._rtol
        return is_unitary_matrix(self._data, rtol=rtol, atol=atol)
def is_unitary(self, atol=None, rtol=None):
        if atol is None:
            atol = self._atol
        if rtol is None:
            rtol = self._rtol
        return is_unitary_matrix(self._data, rtol=rtol, atol=atol)
def is_unitary ( self , atol = None , rtol = None ) : if atol is None : atol = self . _atol if rtol is None : rtol = self . _rtol return is_unitary_matrix ( self . _data , rtol = rtol , atol = atol )
Return True if operator is a unitary matrix.
Return True if operator is a unitary matrix .