pytc.vmc.metropolis.make_mcmc_step_importance

pytc.vmc.metropolis.make_mcmc_step_importance(ansatz, time_step, mesh=None)[source]

Factory to create a JIT-compilable importance sampling MCMC step.

Parameters:
  • ansatz – Wavefunction object (used for validation, not captured)

  • time_step – Time step for the drift-diffusion process

Returns:

mcmc_step(ansatz, walkers, key, params) -> (new_walkers, acceptance_rate)

Return type:

A JIT-compiled function with signature