dwave_networkx.zephyr_coordinates.graph_to_zephyr#

zephyr_coordinates.graph_to_zephyr(g)[source]#

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

Parameters:

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

Returns:

G – A Zephyr graph relabeled with Zephyr coordinates.

Return type:

NetworkX Graph