Abstract class for NetKet graph objects.
Initialize self. See help(type(self)) for accurate signature.
Sequence of edge colors, in the order of the edges returned by
List containing the adjacency list of the graph where each node is represented by an integer in [0, n_nodes)
Symmetry group containing the automorphisms of the graph
List containing the distances between the nodes. The distance between unconnected nodes (no path exists between them) is set to -1
Returns the sequence of edges of the graph.
- Return type
A sequence of edges as tuples
(i, j)or, if return_color is passed, a sequence of tuples
(i, j, c)with
cindicating the color of the respective edge.