Add Jastrow model (and some cleanup)
Created by: femtobit
For old times sake, this PR adds netket.models.Jastrow
with test and example for Ising 1D.
There is also some cleanup in this PR, in particular the type aliases defined in each file in models
are now in one location netket.utils.types
.
Also, I've slightly extended EarlyStopping
for the example, so it is possible to stop when an exact eigenstate is reached (through variance ≈ 0
).