Giter Club home page Giter Club logo

ase-psi4's Introduction

ase-psi4

Build Status

A simple ase calculator for psi4. You can load it and instantiate it the way you would any other ase calculator. The implemented methods are get_forces and get_potential_energy. You can also access the in built psi4 module with calc.psi4.

Installation

You'll need psi4 to use this package, the easiest way to get that is with conda:

conda install -c psi4 psi4 

You can install this package quite simply with pip:

pip install git+https://github.com/medford-group/ase-psi4

or alternatively you can clone it and use setup.py

git clone https://github.com/medford-group/ase-psi4
python setup.py install

Example

from ase_psi4.ase_psi4 import Psi4
from ase.build import molecule
import numpy as np

atoms = molecule('H2O')

calc = Psi4(atoms = atoms,
            xc = 'b3lyp',
            basis = '6-311g_d_p_')

atoms.set_calculator(calc)
print(atoms.get_potential_energy())
print(atoms.get_forces())

Implemented Arguments

Here is a list of the things you can pass into the Psi4 ase calculator with the corresponding default value:

basis: "aug-cc-pvtz"

xc: "hf"

charge: 0

multiplicity: 1

symmetry:'c1'

num_threads: None

have fun!!

ase-psi4's People

Contributors

bencomer avatar

Watchers

 avatar  avatar

Forkers

pk-organics

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.