ScanPartitioner.calculate_qudit_groups

ScanPartitioner.calculate_qudit_groups(circuit)[source]

Calculate the groups of qudits that grouped in a partition.

Return type:

list[tuple[int, …]]