ImportanceSampler

A general-purpose importance sampler that applies acceptance/rejection criteria and computes local energies

Properties and Methods

 

__init__(self, trial_wavefunctions, derivs=None, name=None, dx=0.001): 

 

__repr__(self): 

 

init_params(self, sigmas, time_step, mpi_manager, atoms, *extra_args, atomic_units=False): 
  • sigmas: Any

    No description…

  • time_step: Any

    No description…

  • mpi_manager: None | MPIMangerObject

    No description…

  • atoms: Iterable[str]

    No description…

  • extra_args: Any

    No description…

  • :returns: _

    No description…

 

clean_up(self): 

 

@property
mpi_manager(self): 

 

@property
psi(self): 

 

setup_psi(self, crds): 

Sets up

  • crds: Any

    No description…

  • :returns: _

    No description…

 

accept(self, coords, disp): 

Acceptance/Rejection of a step based on the drift term

  • coords: Any

    No description…

  • disp: Any

    No description…

  • :returns: _

    No description…

 

accept_step(self, step_no, coords, disp): 

 

drift(self, coords, dx=None): 

Calcuates the drift term by doing a numerical differentiation

  • coords: Any

    No description…

  • dx: Any

    No description…

  • :returns: _

    No description…

 

psi_calc(self, coords, dx=None): 

Calculates the trial wavefunction over the three displacements that are used in numerical differentiation

  • coords: Any

    No description…

  • trial_wvfn: Any

    No description…

  • dx: Any

    No description…

  • :returns: _

    No description…

 

metropolis(self, Fqx, Fqy, x, y, psi1, psi2): 

Computes the metropolis step

  • Fqx: Any

    No description…

  • Fqy: Any

    No description…

  • x: Any

    No description…

  • y: Any

    No description…

  • psi1: Any

    No description…

  • psi2: Any

    No description…

  • :returns: _

    No description…

 

local_kin(self, coords, dx=None): 

Calculates the local kinetic energy

  • time_step: Any

    No description…

  • psi: Any

    No description…

  • sigmas: Any

    No description…

  • dx: Any

    No description…

  • :returns: _

    No description…

Examples


Edit Examples or Create New Examples
Edit Template or Create New Template
Edit Docstrings