dwave_networkx.pegasus_coordinates.nice_to_linear# pegasus_coordinates.nice_to_linear(n)[source]# Converts a 5-term nice coordinate into a linear index. Parameters: n (5-tuple) – Nice coordinate. Examples >>> dnx.pegasus_coordinates(2).nice_to_linear((0, 0, 0, 0, 0)) 4