Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

BlockSplitter

class qiskit.dagcircuit.BlockSplitter

GitHub

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.