dwave_networkx.chimera_coordinates.graph_to_chimera#

chimera_coordinates.graph_to_chimera(g)[source]#

Returns a copy of the graph g relabeled to have Chimera coordinates.

Parameters:

g (NetworkX Graph) – The Chimera graph to be relabeled.

Returns:

G – A Chimera graph relabeled with Chimera coordinates.

Return type:

NetworkX Graph