qiskit/extensions/standard/u2.py
def u2(self, phi, lam, q):
    """Apply u2 to q."""
    return self.append(U2Gate(phi, lam), [q], [])
def u2(self, phi, lam, q):
    """Apply u2 to q."""
    return self.append(U2Gate(phi, lam), [q], [])
def u2 ( self , phi , lam , q ) : return self . append ( U2Gate ( phi , lam ) , [ q ] , [ ] )
Apply u2 to q.
Apply u2 to q .