build_sweep_kernel

jaxrens.sampling.moves.single_atom.build_sweep_kernel(backend, n_atoms)[source]

Build a single-atom sweep kernel.

Sweeps through all atoms sequentially (via lax.scan), displacing each.

Parameters:
  • backend (Any) – EnergyBackend instance.

  • n_atoms (int) – Number of atoms (needed for scan length).

Returns:

(rng_key, state, Emax) -> (new_state, MoveInfo)

Return type:

step function

Warning

Unvalidated (since 0.2.2) — this code path has never been exercised in a production simulation. It may be unit-tested; what is missing is a real run whose output was checked.

Concern: no production NS run has used this move.

Cleared by: Benchmark e.g. on LJ comparing with GMC/random walk