GithubHelp home page GithubHelp logo

titan-c / pydmft Goto Github PK

View Code? Open in Web Editor NEW
13.0 5.0 5.0 23.9 MB

Library for quantum interacting systems using DMFT

License: GNU General Public License v3.0

Python 93.98% C++ 0.69% Fortran 5.33%

pydmft's Introduction

PyDMFT

A python library to work on quantum interacting systems. It is focused for research using the Dynamical Mean Field Theory (DMFT)dmft-rmp

The particular highlight of this library is the gallery of examples for which I have developed the scripts to reproduce known results in this field and also provide with my personal research work, showing how it was done and referencing the publication it appeared. Other examples are just test that resulted in dead ends. Examples exist but not all of them are well documented.

You can access the documentation in (https://titan-c.github.io/pydmft)

If you find problems with it, open an issue or even better a pull request. If you use it cite it.

This library was developed during my Doctoral research stay at the Laboratoire de Physique des solides in Orsay, France.

Similar Projects

There are other projects to work on this. PyDMFT is just mine and focuses on using python and providing examples.

Installation

This package is python2 and python3 compatible, but let's try go be in the present and use python3 unless you have really ancient dependencies.

I also prefer working in linux systems and thus the instructions are suited for them.

Virtual environment

Although you can install this package system-wide I recommend using a python virtual environment. There are few options, to do this search on the internet to learn more and stay up to day on the current trends. For the moment, and specially for scientific python I use the conda virtual environments.

The next commands for your terminal help you install conda and setup a virtual environment named pydmft with the dependencies for this project.

wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
chmod +x miniconda.sh
./miniconda.sh -b
export PATH=$HOME/miniconda3/bin:$PATH
conda update --yes --quiet conda
# Install python 3.6 and dependencies in the pydmft virtual environment
conda create --yes --quiet -n pydmft python=3.6 nomkl openblas pip scipy numpy matplotlib sphinx setuptools cython tornado pyzmq h5py joblib pandas numba
source activate testenv
pip install slaveparticles sphinx-gallery mako mpi4py cmocean

Installing the package

This clones the repository and let's you install it on development version. Which means that if you edit the code those changes will affect your installed version. If that is not a behavior you desire change develop for install in the last line.

git clone https://github.com/Titan-C/pydmft.git
cd pydmft
python setup.py develop

References

dmft-rmp Georges, A., Kotliar, G., Krauth, W., & Rozenberg, M. J., Dynamical mean-field theory of strongly correlated fermion systems and the limit of infinite dimensions, Reviews of Modern Physics, 68(1), 13โ€“125 (1996). http://dx.doi.org/10.1103/revmodphys.68.13

pydmft's People

Contributors

titan-c avatar

Stargazers

jiabao yang avatar  avatar Zelong Zhao avatar  avatar hokin avatar  avatar  avatar Habseligkeit avatar Evan Sheridan  avatar Domingos Rodrigues avatar Zhijie Fan avatar  avatar DongHyun Lee avatar

Watchers

 avatar James Cloos avatar Yoshimi avatar  avatar  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.