BlockSplitter
class qiskit.dagcircuit.BlockSplitter
Bases: object
Splits a block of nodes into sub-blocks over disjoint qubits. The implementation is based on the Disjoint Set Union data structure.
Methods
find_leader
find_leader(index)
Find in DSU.
run
run(block)
Splits block of nodes into sub-blocks over disjoint qubits.
union_leaders
union_leaders(index1, index2)
Union in DSU.
Was this page helpful?
Report a bug or request content on GitHub.