Skip to content

jakemcnaughton/AdaptiveRNNWaveFunctions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adaptive RNN Wave Functions

A JAX-based implementation of Adaptive Recurrent Neural Network (RNN) Wave Functions / Quantum States for ground state problems using Variational Monte Carlo (VMC).

🚀 Overview

This project introduces Adaptive RNN Wave Functions for variational quantum Monte Carlo (VMC) simulations. Instead of fixing the architecture size from the start, the model grows in complexity during training, allowing better navigation of rugged optimization landscapes, reducing training runtime, and even improving accuracy.

Usage

1D_TFIM

To run the Adaptive 1D RNN on the 1D Transverse-field Ising Model (TFIM) model use

python train_adaptive.py

and for the Static 1D RNN on the 1D TFIM model

python train_static.py

To learn more about the arguments that can be specified add the --help flag:

python train_adaptive.py --help
python train_static.py --help

2D_Heisenberg

To run the Adaptive 2D RNN on 2D Heisenberg model use

python 2D_Adaptive.py

for the Early Stopping variant of the Adaptive 2D RNN on the 2D Heisenberg model, use

python 2D_Adaptive_EarlyStopping.py

and for the Static 2D Heisenberg model

python 2D_Static.py

Long_range_TFIM

To run the Adaptive 1D RNN on the 1D long-range TFIM, you can run

python train_adaptive.py

and for the Static 1D RNN, use

python train_static.py

Cluster_state

To run the Adaptive 1D complex RNN on the 1D Cluster state Hamiltonian, you can run

python train_adaptive_cRNN.py

and for the Static 1D complex RNN, use

python train_static_cRNN.py

The hyperparameters can be adjusted by passing arguments in the previous Python commands.

License

The license of this work is derived from the BSD-3-Clause license. Ethical clauses are added to promote good uses of this code.

Citing

@misc{AdaptiveRNNs,
      title={Adaptive Neural Quantum States: A Recurrent Neural Network Perspective}, 
      author={Jake McNaughton and Mohamed Hibat-Allah},
      year={2025},
      eprint={2507.18700},
      archivePrefix={arXiv},
      primaryClass={cond-mat.dis-nn},
      url={https://arxiv.org/abs/2507.18700}, 
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages