qiskit/circuit/compositegate.py
def q_if(self, *qregs):
        """Add controls to this gate."""
        self.data = [gate.q_if(qregs) for gate in self.data]
        return self
def q_if(self, *qregs):
        self.data = [gate.q_if(qregs) for gate in self.data]
        return self
def q_if ( self , * qregs ) : self . data = [ gate . q_if ( qregs ) for gate in self . data ] return self
Add controls to this gate.
Add controls to this gate .