SingleAtomSweepMoveSpec

class jaxrens.cli.schema.moves.SingleAtomSweepMoveSpec(*, step_size=0.1, weight=1.0, adaptation_warmup=100, target_acceptance=0.5, name=None, type='single_atom_sweep')[source]

Bases: BaseMoveSpec

Displace every atom once per proposal, in a random order.

One sweep is n_atoms single-atom proposals, each accepted or rejected on its own — so it gets the good acceptance of single_atom while advancing the whole configuration per dispatch. Correspondingly it costs n_atoms energy evaluations.

n_atoms is supplied by the resolver from the initial positions, so it is not a YAML key.

moves:
  - {type: single_atom_sweep, step_size: 0.2, weight: 1}
Parameters:
model_config = {'extra': 'forbid', 'frozen': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].