Tamil
மொழிகள்
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.dagcircuit.DAGDependency.predecessors

DAGDependency.predecessors(node_id)[source]

Predecessors id of a given node as sorted list.

Parameters

node_id (int) -- label of considered node.

Returns

all predecessors id as a sorted list

Return type

List