Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Nuclear-Physics-with-Machine-Learning/MLQM
Testing using AI and ML techniques to solve quantum systems
https://github.com/Nuclear-Physics-with-Machine-Learning/MLQM
Last synced: 14 days ago
JSON representation
Testing using AI and ML techniques to solve quantum systems
- Host: GitHub
- URL: https://github.com/Nuclear-Physics-with-Machine-Learning/MLQM
- Owner: Nuclear-Physics-with-Machine-Learning
- License: apache-2.0
- Created: 2020-04-13T21:31:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-22T16:05:24.000Z (about 2 years ago)
- Last Synced: 2024-08-01T16:54:23.157Z (3 months ago)
- Language: Python
- Size: 1.22 MB
- Stars: 12
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![DOI](https://zenodo.org/badge/255445949.svg)](https://zenodo.org/badge/latestdoi/255445949)
# MLQM
MLQM stands for "Machine Learning Quantum Montecarlo". This repository contains tools to perform variational monte carlo for nuclear physics, though there are some additional Hamiltonians implemented as development tools and cross checks: the harmonic oscillator and the Hydrogen atom.
## Requirements
The requirements to run this code are:
- python > 3.6
- tensorflow > 2.X (not TF1 compatible)
- hydra-core > 1.0 (for configuration)
- horovod (for scaling and multi-node running)There is no installation step, it's expect that once you have the requirements install you can begin running immediately.
## Configuration and Running
The main executable is `bin/stochastic_reconfiguration.py`. You can execute it with:
```bashpython bin/stochastic_reconfiguration.py run_id=MyTestRun
```
Most parameters have reasonable defaults, which you can change in configuration files (in `config/`) or override on the command line:
```bash
python bin/stochastic_reconfiguration.py run_id=deuteron nparticles=2 iterations=500 optimizer=AdaptiveDelta [... other argument overrides]
```
## Computational Performance
This software is compatible with both CPUs and GPUs through Tensorflow. It has good weak and strong scaling performance:
![Scaling performance for 4He on A100 GPUs (ThetaGPU@ALCF)](https://github.com/coreyjadams/AI-for-QM/blob/master/images/Scaling_Performance.png)
The software also has good scaling performance with increasing number of nucleons:
![Nucleon scaling performance on A100 GPUs (ThetaGPU@ALCF)](https://github.com/coreyjadams/AI-for-QM/blob/master/images/NucleonScaling.png)
## Reference
If you use this software, please reference our publication [on arxiv](https://arxiv.org/abs/2007.14282)