NequixBackendSpec

class jaxrens.cli.schema.backend.NequixBackendSpec(*, periodic=False, softcore_repulsion=None, max_neighbors_list=<factory>, max_neighbors_offset=5, max_neighbors_shrink_dwell=0, type='nequix', checkpoint_path, supercell_trafo=(1, 1, 1))[source]

Bases: BaseBackendSpec

Nequix message-passing potential.

checkpoint_path takes either a local .nqx file or a bundled model name, which the nequix package downloads on first use.

backend:
  type: nequix
  checkpoint_path: nequix-mp-1
  periodic: true
Parameters:
build_backend()[source]

Construct and return the EnergyBackend instance.

Subclasses override to pass their specific constructor kwargs.

Return type:

EnergyBackend

model_config = {'extra': 'forbid', 'frozen': True}

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