Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK Go to the latest version
Important

IBM Quantum Platform is moving and this version will be sunset on July 1. To get started on the new platform, read the migration guide.

DAGOpNode

class qiskit.dagcircuit.DAGOpNode

Bases: DAGNode

Object to represent an Instruction at a node in the DAGCircuit.


Attributes

cargs

condition

definition

duration

label

matrix

name

Returns the Instruction name corresponding to the op for this node

num_clbits

num_qubits

op

params

qargs

sort_key

unit


Methods

from_instruction

static from_instruction(instruction, /, *, deepcopy=False)

is_control_flow

is_control_flow()

Is the Operation contained in this node a control-flow operation (i.e. an instance of ControlFlowOp)?

is_controlled_gate

is_controlled_gate()

Is the Operation contained in this node a subclass of ControlledGate?

is_directive

is_directive()

Is the Operation contained in this node a directive?

is_parameterized

is_parameterized()

Does this node contain any ParameterExpression parameters?

is_standard_gate

is_standard_gate()

Is the Operation contained in this node a Qiskit standard gate?

Was this page helpful?
Report a bug or request content on GitHub.