Korean
언어
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

DAGOpNode

class DAGOpNode(op, qargs=(), cargs=())[소스]

기반 클래스: DAGNode

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

Create an Instruction node

Methods

semantic_eq

Check if DAG nodes are considered equivalent, e.g., as a node_match for nx.is_isomorphic.

Attributes

op
qargs
cargs
sort_key
name

Returns the Instruction name corresponding to the op for this node