Skip to content

Simplify netket.graph

Vicentini Filippo requested to merge PhilipVinc/simplify into v3.0

Created by: PhilipVinc

As Edgeless and Graph where simply wrappers around the base class NetworkX with a custom constructor. I implemented them as simple functions that create a NetworkX graph instead of full fledged-classes.

I also added a function to perform the disjoint union of two graphs, which might come in handy in the future, and it's test.

Merge request reports