def inv(self):
    'Inverts the operation, such that the inverse will\n        be used for the computations by the specific device.\n\n        This method concatenates a string to the name of the operation,\n        to indicate that the inverse will be used for computations.\n\n        Any subsequent call of this method will toggle between the original\n        operation and the inverse of the operation.\n\n        Returns:\n            :class:`Operator`: operation to be inverted\n        '
    self.inverse = (not self._inverse)
    return self
Inverts the operation, such that the inverse will
be used for the computations by the specific device.

This method concatenates a string to the name of the operation,
to indicate that the inverse will be used for computations.

Any subsequent call of this method will toggle between the original
operation and the inverse of the operation.

Returns:
    :class:`Operator`: operation to be inverted
def inv(self):
    'Inverts the operation, such that the inverse will\n        be used for the computations by the specific device.\n\n        This method concatenates a string to the name of the operation,\n        to indicate that the inverse will be used for computations.\n\n        Any subsequent call of this method will toggle between the original\n        operation and the inverse of the operation.\n\n        Returns:\n            :class:`Operator`: operation to be inverted\n        '
    self.inverse = (not self._inverse)
    return self