Evaluation#
Configuration reference for jaqmc solid 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.
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.disable_jit
Disable JAX JIT compilation (for debugging).
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.
PotentialEnergyandTotalEnergyare added automatically 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.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.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.*)#
Electron density in fractional (lattice) coordinates. Converts Cartesian positions to fractional coordinates via the inverse lattice matrix, then histograms within \([0, 1)\).
When enabled without overrides, the workflow wires three independent 1-D
histograms along the a, b, and c lattice directions, each with 50 bins.
To keep only specific axes, set the others to null. Each axis override
accepts lattice_index and bins.
# Just enable with defaults (a, b, c histograms, 50 bins each):
estimators:
enabled:
density: true
# Keep only c-axis with finer bins:
estimators:
enabled:
density: true
density:
axes:
a: null
b: null
c:
lattice_index: 2
bins: 100