jaxrens.cli.schema.moves

Pydantic schema for the [moves] section of a jaxrens YAML config.

Each concrete spec class carries exactly the fields that its kernel builder accepts. to_move_config() and to_descriptor() are the seam between the CLI config layer and the library core — they replace the _MOVE_REGISTRY / _build_kernel_kwargs / _extra_state_fields side-channel that used to live in cli/run.py.

Classes

AlchemicalMorphMoveSpec

Continuously morph one atom's identity toward another species.

BaseMoveSpec

Fields shared by every move type.

Distance1DMoveSpec

Displace one particle of the 1-D toy model along the axis.

GMCMoveSpec

Galilean Monte Carlo move, optionally scoped to one element sublattice.

HMCMoveSpec

Hamiltonian Monte Carlo with a leapfrog integrator.

Lattice1DMoveSpec

Change the box length of the 1-D toy model.

RandomWalkMoveSpec

Gaussian displacement of every atom at once.

ShearMoveSpec

Volume-preserving shear of the cell, co-transforming positions.

SingleAtomMoveSpec

Displace one randomly chosen atom per proposal.

SingleAtomSweepMoveSpec

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

SpeciesSwapMoveSpec

Exchange the identities of two atoms of different species.

StretchMoveSpec

Volume-preserving anisotropic stretch, co-transforming positions.

TYPE_CHECKING

bool(x) -> bool

VolumeMoveSpec

Isotropic cell-volume change, co-transforming atom positions.