Giter Site home page Giter Site logo

rsbw_method's Introduction

RSBW Method

By Louis PETIT, Amr HUSSEIN and Loris DELAFOSSE Laboratoire de Chimie Quantique, Institut de Chimie, CNRS/Université de Strasbourg

Files

  • RSBW_1_perturber.ipynb
  • RSBW_2_perturbers.ipynb

Description

RSBW_1_perturber.ipynb (resp. RSBW_2_perturbers.ipynb) allows for calculations of the exact and approximated energies of a simple system, made up of two model states and one (resp. two) perturber(s) state(s).

The approximation schemes supported by both programs are: 2nd-order Rayleigh-Schrödinger perturbation theory, 2nd/3rd-order Brillouin-Wigner perturbation theory applied to the model space restricted Hamiltonian, 2nd-order combined RSBW perturbation theory.

Both programs produce raw data and curves showing either the energy or the relative difference to the exact energy for each approximation method. Please be careful when plotting relative differences: when the exact energy becomes low (near zero), the relative difference can become arbitrarily large while the approximation remains good. In such cases, an error is displayed above the graphs. To solve this problem, you can shift the energy reference or reduce the energy window that is displayed.

How to use

Run all cells on a jupyter notebook, then choose whatever you want to display with the two upper cursors, and finally set the parameters of your system using the other cursors. To recover raw data, use "np.save()".

rsbw_method's People

Contributors

loris-delafosse avatar antoine-royer 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.