qiskit.dagcircuit.DAGDependency.add_op_node¶
- DAGDependency.add_op_node(operation, qargs, cargs)[ソース]¶
Add a DAGDepNode to the graph and update the edges.
- パラメータ
operation (qiskit.circuit.Instruction) – operation as a quantum gate.
qargs (list[Qubit]) – list of qubits on which the operation acts
cargs (list[Clbit]) – list of classical wires to attach to.