iqm.benchmarks.entanglement.graph_states.generate_minimal_edge_layers#
- iqm.benchmarks.entanglement.graph_states.generate_minimal_edge_layers(cp_map: CouplingMap) Dict[int, List[List[int]]] #
Sorts the edges of a coupling map, arranging them in a dictionary with values being subsets of the coupling map with no overlapping nodes. Each item will correspond to a layer of pairs of qubits in which parallel 2Q gates can be applied.