DoubleWellBackendSpec

class jaxrens.cli.schema.backend.DoubleWellBackendSpec(*, periodic=False, softcore_repulsion=None, max_neighbors_list=<factory>, max_neighbors_offset=5, max_neighbors_shrink_dwell=0, type='double_well', a=1.0, b=1.0)[source]

Bases: BaseBackendSpec

Toy double-well potential with a tunable barrier. For tests.

Two basins separated by a barrier, so it exercises the sampler’s ability to cross one — the toy analogue of a first-order transition.

backend:
  type: double_well
  a: 1.0
  b: 1.0
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].