GithubHelp home page GithubHelp logo

cfel-cmi / flowbasis Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 87 KB

FlowBasis: Variational solutions of perturbed quantum harmonic oscillator problems via augmented basis sets.

License: Other

Python 100.00%
cfel cmi machine-learning normalizing-flows physics-simulation variational-method

flowbasis's Introduction

FlowBasis: Augmenting basis sets by normalizing flows

The repository contains python implementations of variational solutions to perturbed quantum harmonic oscillator problems. Solution methodology is based on the use of Hermite functions, and augmented Hermite functions, where Hermite functions are composed with normalizing flows [1]. The provided codes reproduce results in the below cited reference.

Dependencies

The codes were tested on Python 3.9.15. We recommend the use of a virtual environment. To install all necessary packages run:

pip install -r requirements.txt

Installation

To install the package run:

python setup.py install

or in a developer-mode, e.g.:

python setup.py develop --user

Usage

In examples/HOs.py the Harmonic oscillator problem and the variational methodology to solve it are defined. flowbasis/flows.py contains the normalizing flows that are used to augment standard basis sets. flowbasis/Basis.py contains basis sets that can be used to discretize Schrödinger equations. flowbasis/quadratures.py defines quadrature rules.

Citation

If you use the code please cite:

[1] Y. Saleh, A. Iske, A. Yachmenev, J. Küpper, Augmenting basis sets by normalizing flows, Proc. Appl. Math. Mech. 23 (1) (2023), e202200239 (2022).

flowbasis's People

Contributors

saleh0694 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.