quantax.sampler.Sampler#
- class quantax.sampler.Sampler#
Abstract class for samplers
- __init__(state: State, nsamples: int, reweight: float = 2.0)#
- Parameters:
state – The state used for computing the wave function and probability
nsamples – Number of samples generated per iteration
reweight – The reweight factor n defining the sample probability \(|\psi|^n\), default to 2.0
- property nsamples: int#
Number of samples generated per iteration
- property reweight: float#
The reweight factor n defining the sample probability \(|\psi|^n\)