qiskit/qasm/node/gatebody.py
def calls(self):
        """Return a list of custom gate names in this gate body."""
        lst = []
        for children in self.children:
            if children.type == "custom_unitary":
                lst.append(children.name)
        return lst
def calls(self):
        """Return a list of custom gate names in this gate body."""
        lst = []
        for children in self.children:
            if children.type == "custom_unitary":
                lst.append(children.name)
        return lst
def calls ( self ) : lst = [ ] for children in self . children : if children . type == "custom_unitary" : lst . append ( children . name ) return lst
Return a list of custom gate names in this gate body.
Return a list of custom gate names in this gate body .