Skip to main contentIBM Quantum Documentation
Important

IBM Quantum Platform is moving and this version will be sunset on July 1. To get started on the new platform, read the migration guide.

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)

GitHub

Find in DSU.

run

run(block)

GitHub

Splits block of nodes into sub-blocks over disjoint qubits.

union_leaders

union_leaders(index1, index2)

GitHub

Union in DSU.

Was this page helpful?
Report a bug or request content on GitHub.