Giter Club home page Giter Club logo

qm_2019_sss_4's Introduction

qm_project_sss

AppVeyor Build status codecov

The qm_project_sss package implements semi-empirical quantum mechanical (SCF+MP2) simulation parameterized to reproduce first-principles QM data using a minimal model. The package serves three main classes:

  • NobleGasModel (in Noble_Gas_Model module)
  • HartreeFock (in hartree_fock module)
  • MP2 (in mp2 module)

You can learn more about attributes and methods in three classes in the documentation. However, you can also keep reading below to get started.

Installation

git clone https://github.com/MolSSI-Education/qm_2019_sss_4.git
cd qm_2019_sss_4
pip install -e .

You can run tests to make sure the package is installed successfully

pytest -v

Getting Started

In just a few lines, we can compute the Hartree-Fock energy and the MP2 energy correction of a system of two Argon atoms.

from qm_project_sss import NobleGasModel, HartreeFock, MP2
import numpy as np

# Initilize a NobleGasModel object
Ar = NobleGasModel('ar')
atomic_coordinates = np.array([[0.0,0.0,0.0], [3.0,4.0,5.0]])

# Initilize a HartreeFock object
hf = HartreeFock(atomic_coordinates, Ar)

# Start SCF iterations
hf.scf_cycle()
hf_energy = hf.calculate_energy_ion() + hf.calculate_energy_scf()

# Compute MP2 correction to HF energy
mp2 = MP2(atomic_coordinates, Ar)
mp2_correction = mp2.mp2_energy

Copyright

Copyright (c) 2019, sss_2019_qm_4

Acknowledgements

Project based on the Computational Molecular Science Python Cookiecutter version 1.0.

qm_2019_sss_4's People

Contributors

saumilchheda avatar renkehuang avatar hanjie-jiang avatar janash avatar

Watchers

James Cloos avatar

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.