qiskit/quantum_info/operators/channel/quantum_channel.py
def to_operator(self):
        """Try to convert channel to a unitary representation Operator."""
        mat = _to_operator(self.rep, self._data, *self.dim)
        return Operator(mat, self.input_dims(), self.output_dims())
def to_operator(self):
        """Try to convert channel to a unitary representation Operator."""
        mat = _to_operator(self.rep, self._data, *self.dim)
        return Operator(mat, self.input_dims(), self.output_dims())
def to_operator ( self ) : mat = _to_operator ( self . rep , self . _data , * self . dim ) return Operator ( mat , self . input_dims ( ) , self . output_dims ( ) )
Try to convert channel to a unitary representation Operator.
Try to convert channel to a unitary representation Operator .