espaloma.graphs.utils.read_heterogeneous_graph
Build heterogeneous graph from homogeneous ones.
Functions
|
For every (a,b,c,d) add a (d,c,b,a) |
|
Build heterogeneous graph from homogeneous ones. |
|
Construct a dictionary that maps node names (like "n2") to torch tensors of indices |