jaxrens.backends.toy

Toy energy backends for testing and benchmarking.

These are the known-answer problems used for evidence accuracy tests. Each backend satisfies the EnergyBackend protocol.

Functions

create_double_well

Create a double-well potential backend.

create_gaussian_mixture

Create a Gaussian mixture potential backend.

create_harmonic

Create a harmonic potential backend.

create_rens_toy

Create the RENS-paper 1-D toy backend.

Classes

DoubleWellBackend

Double-well potential along x-axis.

GaussianMixtureBackend

Gaussian mixture energy (negative log-likelihood).

HarmonicBackend

Harmonic potential: E = 0.5 * k * sum(positions^2).

RENSToyBackend

Two particles in a periodic 1-D box — the toy model from the RENS paper.