Evaluation#
Configuration reference for jaqmc molecule evaluate.
This page shows the effective defaults for the evaluation workflow preset. Use
--dry-run to see the resolved config for your run, or add
workflow.config.verbose=true to include field descriptions. Evaluation has
only one stage, so stage keys (run.*, sampler.*, writers.*) live at the
config root rather than under a train.* prefix. Defaults are resolved in this
order: schema defaults, workflow preset, YAML config, then CLI overrides. For
training config, see Training.
Root-level runtime keys such as logging.*, jax.*, and distributed.* are
shared by all commands. See Runtime Configuration.
Workflow (workflow.*)#
These keys control evaluation-wide settings and checkpoint loading.
workflow.seed
Fixed random seed.
workflow.batch_size
Number of walkers (samples) to use in each iteration.
workflow.save_path
Path to save checkpoints and logs.
workflow.restore_path
Path to restore checkpoints from.
workflow.config.ignore_extra
If True, silently ignore unrecognized config keys.
workflow.config.verbose
If True, print the fully resolved config with field descriptions at startup.
workflow.source_path
Path to the training run directory or checkpoint file to load parameters from.
System (system.*)#
Must match the training run. The effective defaults and built-in module choices are identical to the training system config.
Wavefunction (wf.*)#
Must match the training run. The effective defaults and built-in module choices are identical to the training wavefunction config.
Run Options (run.*)#
Evaluation reuses the same checkpointing and sampling controls as training, but
adds digest_step_interval for previewing accumulated statistics.
run.check_vma
Enable JAX validity checks during shard_map.
run.iterations
Total number of iterations to run.
run.burn_in
Sampling iterations to discard before the main loop for MCMC equilibration.
run.save_time_interval
Minimum wall-clock seconds between checkpoint saves.
run.save_step_interval
Save checkpoints only at steps that are multiples of this value.
run.digest_step_interval
Log a preview of the accumulated evaluation digest every this many steps.
Sampler (sampler.*)#
Default sampler module:
mcmc, and its effective keys are listed below.
sampler.steps
Number of Metropolis-Hastings updates per sample draw.
sampler.initial_width
Initial width (stddev) of the Gaussian proposal.
sampler.adapt_frequency
Frequency of adaptive width updates.
sampler.pmove_range
Target range for acceptance rate.
Writers (writers.*)#
No external writers are enabled by default. If you enable them manually, the root-level writer keys below control their configuration. The evaluation stage always writes per-step statistics to an internal HDF5 file for digest computation; this is independent of the writers configured here.
Console writer (writers.console.*)#
writers.console.interval
Step interval for logging.
writers.console.fields
Comma-separated list of field specs.
CSV writer (writers.csv.*)#
writers.csv.path_template
Output path template.
HDF5 writer (writers.hdf5.*)#
writers.hdf5.path_template
Output path template.
Estimators (estimators.*)#
Energy estimator definitions match training, with additional evaluation-only estimators enabled through boolean flags.
total_energyand the electron-nuclei potential are always added by the workflow and are not configurable via config keys.estimators.enabled.energydefaults totrue.estimators.enabled.spindefaults tofalse.estimators.enabled.densitydefaults tofalse.
Kinetic energy (estimators.energy.kinetic.*)#
estimators.energy.kinetic.vmap_chunk_size
Number of walkers to evaluate per vmap chunk.
estimators.energy.kinetic.mode
Laplacian computation strategy. forward_laplacian is the default for JAX 0.7.1 and later, scan for earlier versions.
estimators.energy.kinetic.sparsity_threshold
Sparsity threshold when using forward_laplacian mode.
ECP energy (estimators.energy.ecp.*)#
Added automatically when system.ecp is set.
estimators.energy.ecp.vmap_chunk_size
Number of walkers to evaluate per vmap chunk.
estimators.energy.ecp.max_core
Maximum number of nearest ECP atoms to consider per electron when evaluating nonlocal integrals.
estimators.energy.ecp.quadrature_id
Spherical quadrature rule used to evaluate nonlocal ECP integrals.
estimators.energy.ecp.electrons_field
Name of electron position field in data.
estimators.energy.ecp.atoms_field
Name of atom position field in data.
Density (estimators.density.*)#
Produces independent 1-D histograms of electron positions projected onto Cartesian directions.
When enabled without overrides, the workflow wires three independent 1-D
histograms along x, y, and z, each with 50 bins and a range auto-computed from
atom coordinates with 5 bohr padding. To keep only specific axes, set the
others to null. Each axis override accepts direction, bins, and range.
# Just enable with defaults (x, y, z histograms, auto-ranged):
estimators:
enabled:
density: true
# Keep only z with custom bins and range:
estimators:
enabled:
density: true
density:
axes:
x: null
y: null
z:
direction: [0, 0, 1]
bins: 100
range: [-15.0, 15.0]