Giter Club home page Giter Club logo

automatic-differentiation-scf's Introduction

Automatic Differentiation for the Direct Minimization Approach to the Hartree-Fock Method

Source code for Automatic Differentiation for the Direct Minimization Approach to the Hartree-Fock Method (arXiv).

Dependencies

  • JAX
  • PySCF
  • SciPy
  • NumPy
  • matplotlib

You can install dependencies with requirements.txt.

pip install -r requirements.txt

How to reproduce Figures/Tables

We tested our program with Python 3.8.10 on Ubuntu 20.04.5 LTS.

Figure 2(a)

python diatomic.py H2 STO-3G

Figure 2(b)

python diatomic.py H2 3-21G

Figure 3(a)

python diatomic.py HF STO-3G

Figure 3(b)

python diatomic.py HF STO-3G

Figure 4(a)

python polyatomic_angle.py H2O

Figure 4(b)

python polyatomic_angle.py NH3

Figure 5

python ad_vs_fd.py NH3 cc-pVDZ --plot

Figure 6

python plot_step_size.py

data/step_size_h2o.csv was created by running ad_vs_fd.py in different step sizes (change line 173).

Table 3

You can calculate each row using polyatomic.py. For example,

python polyatomic.py H2O STO-3G

Table 4

You can calculate each row using ad_vs_fd.py. For example,

python ad_vs_fd.py H2O STO-3G

automatic-differentiation-scf's People

Contributors

n-yoshikawa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

nakatamaho

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.