qiskit/dagcircuit/dagcircuit.py
def threeQ_or_more_gates(self):
        """Get list of 3-or-more-qubit gates: (id, data)."""
        three_q_gates = []
        for node in self.gate_nodes():
            if len(node.qargs) >= 3:
                three_q_gates.append(node)
        return three_q_gates
def threeQ_or_more_gates(self):
        """Get list of 3-or-more-qubit gates: (id, data)."""
        three_q_gates = []
        for node in self.gate_nodes():
            if len(node.qargs) >= 3:
                three_q_gates.append(node)
        return three_q_gates
def threeQ_or_more_gates ( self ) : three_q_gates = [ ] for node in self . gate_nodes ( ) : if len ( node . qargs ) >= 3 : three_q_gates . append ( node ) return three_q_gates
Get list of 3-or-more-qubit gates: (id, data).
Get list of 3 - or - more - qubit gates : ( id data ) .