netket.models.LogStateVector#

class netket.models.LogStateVector[source]#

Bases: Module

_Exact_ ansatz storing the logarithm of the full, exponentially large wavefunction coefficients. As with other models, coefficients do not need to be normalised.

This ansatz can only be used with Hilbert spaces which are small enough to be indexable.

By default it initialises as a uniform state.

Attributes
hilbert: DiscreteHilbert#

The Hilbert space.

logstate_init: Callable[[Any, Sequence[int], Any], Union[ndarray, Array]]#

Initializer for the weights.

Methods
__call__(x_in)[source]#

Call self as a function.

Parameters:

x_in (ndarray | Array)