qiskit/unroll/_dagbackend.py
def u(self, arg, qubit, nested_scope=None):
        """Fundamental single qubit gate.

        arg is 3-tuple of Node expression objects.
        qubit is (regname,idx) tuple.
        nested_scope is a list of dictionaries mapping expression variables
        to Node expression objects in order of increasing nesting depth.
        """
        if self.listen:
            if self.creg is not None:
                condition = (self.creg, self.cval)
            else:
                condition = None
            if "U" not in self.basis:
                self.basis.append("U")
                self.circuit.add_basis_element("U", 1, 0, 3)
            self.circuit.apply_operation_back(
                "U", [qubit], [], list(map(lambda x: x.sym(nested_scope),
                                           arg)), condition)
Fundamental single qubit gate.

        arg is 3-tuple of Node expression objects.
        qubit is (regname,idx) tuple.
        nested_scope is a list of dictionaries mapping expression variables
        to Node expression objects in order of increasing nesting depth.
        
Fundamental single qubit gate.
arg is 3-tuple of Node expression objects.
qubit is (regname,idx) tuple.
nested_scope is a list of dictionaries mapping expression variables
to Node expression objects in order of increasing nesting depth.
Fundamental single qubit gate . arg is 3 - tuple of Node expression objects . qubit is ( regname idx ) tuple . nested_scope is a list of dictionaries mapping expression variables to Node expression objects in order of increasing nesting depth .
def u(self, arg, qubit, nested_scope=None):
        if self.listen:
            if self.creg is not None:
                condition = (self.creg, self.cval)
            else:
                condition = None
            if "U" not in self.basis:
                self.basis.append("U")
                self.circuit.add_basis_element("U", 1, 0, 3)
            self.circuit.apply_operation_back(
                "U", [qubit], [], list(map(lambda x: x.sym(nested_scope),
                                           arg)), condition)
def u ( self , arg , qubit , nested_scope = None ) : if self . listen : if self . creg is not None : condition = ( self . creg , self . cval ) else : condition = None if "U" not in self . basis : self . basis . append ( "U" ) self . circuit . add_basis_element ( "U" , 1 , 0 , 3 ) self . circuit . apply_operation_back ( "U" , [ qubit ] , [ ] , list ( map ( lambda x : x . sym ( nested_scope ) , arg ) ) , condition )
Fundamental single qubit gate.
Fundamental single qubit gate .
"""Fundamental single qubit gate.

        arg is 3-tuple of Node expression objects.
        qubit is (regname,idx) tuple.
        nested_scope is a list of dictionaries mapping expression variables
        to Node expression objects in order of increasing nesting depth.
        """
self
arg
qubit
nested_scope