- netket.sampler.MetropolisGaussian(hilbert, sigma=1.0, **kwargs)#
This sampler acts on all particle positions simultaneously and proposes a new state according to a Gaussian distribution with width sigma.
hilbert – The continuous Hilbert space to sample.
sigma – The width of the Gaussian proposal distribution (default = 1.0).
n_chains – The total number of independent Markov chains across all MPI ranks. Either specify this or n_chains_per_rank.
n_chains_per_rank – Number of independent chains on every MPI rank (default = 16).
n_sweeps – Number of sweeps for each step along the chain. Defaults to the number of sites in the Hilbert space. This is equivalent to subsampling the Markov chain.
reset_chains – If True, resets the chain state when reset is called on every new sampling (default = False).
machine_pow – The power to which the machine should be exponentiated to generate the pdf (default = 2).
dtype – The dtype of the states sampled (default = np.float64).
- Return type: