jaxrens.sampling.moves.single_atom

Single-atom move kernels for nested sampling.

Moves that perturb one atom at a time, efficient for large systems where displacing all atoms simultaneously has low acceptance.

  • build_kernel: move one random atom per step

  • build_sweep_kernel: sweep through all atoms sequentially via lax.scan

Single-walker functions, designed for shard_map(vmap(vmap(…))) wrapping.

Functions

build_kernel

Build a single-atom random displacement kernel.

build_sweep_kernel

Build a single-atom sweep kernel.