dwave.graphs.pegasus_coordinates.graph_to_linear# pegasus_coordinates.graph_to_linear(g: Graph) → Graph[source]# Returns a copy of the graph g relabeled to have linear indices. Parameters: g – The Pegasus graph to be relabeled. Returns: A Pegasus graph relabeled with linear indices.