From 31bb0829dbd833bea87be2ade63d90139732cab3 Mon Sep 17 00:00:00 2001 From: David Pfau Date: Fri, 14 Jun 2024 11:57:41 +0100 Subject: [PATCH] Update README PiperOrigin-RevId: 643302411 Change-Id: I03d1151f2d06f44f212bae14ea7d97b9c118ed10 --- README.md | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 58477d2..1d862c0 100644 --- a/README.md +++ b/README.md @@ -156,6 +156,23 @@ parallelisation is essential. This is supported via JAX's [pmap](https://jax.readthedocs.io/en/latest/jax.html#parallelization-pmap). Multiple GPUs will be automatically detected and used if available. +### Inference + +After training, it is useful to run calculations of the energy and other +observables over many time steps with the parameters fixed to accumulate +low-variance estimates of physical quantities. To do this, just re-run the same +command used for training with the flag `--config.optim.optimizer 'none'`. Make +sure that either the value of `cfg.log.save_path` is the same, or that the value +of `cfg.log.restore_path` is set to the value of `cfg.log.save_path` from the +original training run. + +It can also be useful to accumulate statistics about observables at inference +time which were not included in the original training run. Spin magnitude, +dipole moments and density matrices can be tracked by adding +`--config.observables.s2`, `--config.observables.dipole` and +`--config.observables.density` to the command line if they are not set to true +in the config file. + ## Excited States Excited state properties of systems can be calculated using the [Natural Excited @@ -243,18 +260,14 @@ implementation: } ``` -The PsiFormer architecture is detailed in an ICLR 2023 paper, preprint -reference: +The PsiFormer architecture is detailed in an ICLR 2023 paper: ``` -@misc{vonglehn2022psiformer, +@misc{vonglehn2023psiformer, title={A Self-Attention Ansatz for Ab-initio Quantum Chemistry}, author={Ingrid von Glehn and James S Spencer and David Pfau}, - year={2022}, - eprint={2211.13672}, - archivePrefix={arXiv}, - primaryClass={physics.chem-ph}, - url={https://arxiv.org/abs/2211.13672}, + journal={ICLR}, + year={2023}, } ```