pytc.vmc.metropolisΒΆ

Metropolis-Hastings algorithms for VMC sampling.

This module contains the core Metropolis-Hastings sampling algorithms, including both standard MCMC and importance sampling with drift-diffusion.

Functions

make_mcmc_step

Factory to create a JIT-compilable MCMC step function.

make_mcmc_step_importance

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

metropolis_hastings

Perform one step of Metropolis-Hastings sampling for quantum wavefunction.

metropolis_hastings_importance_sampling

Perform one step of Metropolis-Hastings with importance sampling (drift).