Skip to main content
IBM Quantum Platform
이 페이지는 Qiskit SDK의 이전 버전입니다. 최신 버전으로 이동

DAGOpNode

class qiskit.dagcircuit.DAGOpNode

Bases: DAGNode

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


Attributes

cargs

definition

label

matrix

name

Returns the Instruction name corresponding to the op for this node

num_clbits

num_qubits

op

params

qargs


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?

이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.