BackendConfig

class jaxrens.state.config.BackendConfig(backend_type='lj', checkpoint_path=None, periodic=False, cutoff=None, max_neighbors_list=<factory>, max_neighbors_offset=5, max_neighbors_shrink_dwell=0, softcore_repulsion=None)[source]

Bases: object

Energy backend configuration.

n_atoms is intentionally absent: it is derived from the initial walker positions (positions.shape[-2]) at run time. Storing it here would duplicate the source of truth and require manual synchronisation with the initialisation configuration.

Parameters:
  • backend_type (str)

  • checkpoint_path (str | None)

  • periodic (bool)

  • cutoff (float | None)

  • max_neighbors_list (list[int])

  • max_neighbors_offset (int)

  • max_neighbors_shrink_dwell (int)

  • softcore_repulsion (dict | None)