qiskit/circuit/instructionset.py
def inverse(self):
        """Invert all instructions."""
        for index, instruction in enumerate(self.instructions):
            self.instructions[index] = instruction.inverse()
        return self
def inverse(self):
        for index, instruction in enumerate(self.instructions):
            self.instructions[index] = instruction.inverse()
        return self
def inverse ( self ) : for index , instruction in enumerate ( self . instructions ) : self . instructions [ index ] = instruction . inverse ( ) return self
Invert all instructions.
Invert all instructions .