qiskit/quantum_info/operators/base_operator.py
def copy(self):
        """Make a copy of current operator."""
        # pylint: disable=no-value-for-parameter
        # The constructor of subclasses from raw data should be a copy
        return self.__class__(self.data, self.input_dims(), self.output_dims())
def copy(self):
        # pylint: disable=no-value-for-parameter
        # The constructor of subclasses from raw data should be a copy
        return self.__class__(self.data, self.input_dims(), self.output_dims())
def copy ( self ) : # pylint: disable=no-value-for-parameter # The constructor of subclasses from raw data should be a copy return self . __class__ ( self . data , self . input_dims ( ) , self . output_dims ( ) )
Make a copy of current operator.
Make a copy of current operator .