netket_foundation.ParameterSpace#
- class netket_foundation.ParameterSpace(N, min=-1, max=1)[source]#
Represents the vector space of a single parameter for the model.
Behaves as a standard Hilbert space, but there are no operators defined on it.
Methods
__init__(N[, min, max])ptrace(sites)Returns the hilbert space without the selected sites.
random_state([key, size, dtype])Generates either a single or a batch of uniformly distributed random states.
Attributes
is_indexableWhether the space can be indexed with an integer
sizeThe number number of degrees of freedom in the basis of this Hilbert space.