dwave_networkx.canonical_chimera_labeling¶
-
canonical_chimera_labeling
(G, t=None)[source]¶ Returns a mapping from the labels of G to chimera-indexed labeling.
Parameters: - G (NetworkX graph) – A Chimera-structured graph.
- t (int (optional, default 4)) – Size of the shore within each Chimera tile.
Returns: chimera_indices – A mapping from the current labels to a 4-tuple of Chimera indices.
Return type: