dwave_networkx.pegasus_coordinates.linear_to_pegasus# pegasus_coordinates.linear_to_pegasus(r)[source]# Converts a linear index into a 4-term Pegasus coordinate. Parameters: r (int) – Linear index. Examples >>> dnx.pegasus_coordinates(2).linear_to_pegasus(4) (0, 0, 4, 0)