qiskit.dagcircuit.DAGCircuit.gate_nodes¶ DAGCircuit.gate_nodes()[source]¶ Get the list of gate nodes in the dag. Returns the list of DAGNodes that represent gates. Return type list[DAGNode]