qiskit/circuit/instruction.py
def _qasmif(self, string):
        """Print an if statement if needed."""
        if self.control is None:
            return string
        return "if(%s==%d) " % (self.control[0].name, self.control[1]) + string
def _qasmif(self, string):
        """Print an if statement if needed."""
        if self.control is None:
            return string
        return "if(%s==%d) " % (self.control[0].name, self.control[1]) + string
def _qasmif ( self , string ) : if self . control is None : return string return "if(%s==%d) " % ( self . control [ 0 ] . name , self . control [ 1 ] ) + string
Print an if statement if needed.
Print an if statement if needed .