qiskit/quantum_info/operators/operator.py
def transpose(self):
        """Return the transpose of the operator."""
        return Operator(
            np.transpose(self.data), self.input_dims(), self.output_dims())
def transpose(self):
        return Operator(
            np.transpose(self.data), self.input_dims(), self.output_dims())
def transpose ( self ) : return Operator ( np . transpose ( self . data ) , self . input_dims ( ) , self . output_dims ( ) )
Return the transpose of the operator.
Return the transpose of the operator .