Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 643302411
Change-Id: I03d1151f2d06f44f212bae14ea7d97b9c118ed10
  • Loading branch information
dpfau committed Aug 22, 2024
1 parent 8e1c747 commit 31bb082
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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},
}
```

Expand Down

0 comments on commit 31bb082

Please sign in to comment.