netket.sampler.MetropolisSamplerState#
- class netket.sampler.MetropolisSamplerState[source]#
Bases:
SamplerState
State for a Metropolis sampler.
Contains the current configuration, the RNG state and the (optional) state of the transition rule.
- Inheritance
- Attributes
- acceptance#
The fraction of accepted moves across all chains and MPI processes.
The rate is computed since the last reset of the sampler. Will return None if no sampling has been performed since then.
- n_accepted#
Total number of moves accepted across all processes since the last reset.
- n_steps#
Total number of moves performed across all processes since the last reset.