Skip to main content

Rotationally invariant slave boson mean-field theory.

Project description

risb - Rotationally invariant slave bosons

Documentation at https://thenoursehorse.github.io/risb

Copyright (C) 2016-2023 H. L. Nourse and B. J. Powell, 2016-2022 R. H. McKenzie

What is risb?

Tools to solve strongly correlated many-body electronic problems using rotationally invariant slave-bosons (RISB), an auxilliary particle method. RISB is like dynamical mean-field theory (DMFT), but solves problems in a fraction of the time, with hopefully not a fraction of the accuracy.

Where to start?

If you want to learn how to solve some common strongly correlated lattice models, and how RISB is implemented, then start with the tutorials.

If you want to quickly see a calculation, then start with the examples/ folder in this repository and refer to the how-to guides.

Citation

We kindly request that you cite the following paper if your project uses our code:

H. L. Nourse, Ross H. McKenzie, and B. J. Powell Phys. Rev. B 103, L081114 (2021)

The TRIQS library should also be cited if any of their library is used:

O. Parcollet, M. Ferrero, T. Ayral, H. Hafermann, I. Krivenko, L. Messio, and P. Seth, Comp. Phys. Comm. 196, 398-415 (2015)

If the default root DIIS method is used in the Solver classes you should also cite:

M. Chupin, M.-S. Dupuy, G. Legendre and É. Séré, ESAIM: M2AN 55, 6, 2785-2825 (2021)

Lastly, the appropriate original theory outlined in the documentation should be cited.

Dependencies

Installation

(Optional) Create a virtual environment.

Install

pip install risb

Uninstall

pip uninstall risb

Docker

There is a Dockerfile and docker-compose.yml inside the docker folder. The Dockerfile will pull the TRIQS docker image from the hub and install risb. Using the image will be the same as outlined in the install instructions. To connect to the Jupyter notebook it is

localhost:8888/?token=put/token/here

You can find the token by attaching a shell to the container and running

jupyter server list

There is also a development Dockerfile.dev and the corresponding docker-compose-dev.yml in order to have a container to develop code. It installs TRIQS from source, and works on Apple M1/M2 (arm64, aarch64), and any amd64 system.

Tests

The tests require a working TRIQS installation.

Clone source

git clone https://github.com/thenoursehorse/risb
cd risb

Install the prerequisites

pip install -e .[test]

Tests are run with

pytest

Documentation

Clone source

git clone https://github.com/thenoursehorse/risb
cd risb

Install the prerequisites

pip install -e .[docs]

Build the API

sphinx-apidoc -o docs/api --module-first --no-toc --force --separate src/risb

Build the documentation and set up a local server

sphinx-autobuild -b html docs docs/_build

Access through a browser at http://127.0.0.1:8000.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

risb-0.1.4.tar.gz (91.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

risb-0.1.4-py3-none-any.whl (55.5 kB view details)

Uploaded Python 3

File details

Details for the file risb-0.1.4.tar.gz.

File metadata

  • Download URL: risb-0.1.4.tar.gz
  • Upload date:
  • Size: 91.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for risb-0.1.4.tar.gz
Algorithm Hash digest
SHA256 65eb1699ff4c1a3916a48b2ab79f9e73c664e005aa1c2938fd6a130658c1dbea
MD5 5f6f002c3315407a4b74b92070d7013b
BLAKE2b-256 6b762953b0adced8f2022c7bbc7786624f1dc0e7c8806fc87f00e8f551e3ccdc

See more details on using hashes here.

Provenance

The following attestation bundles were made for risb-0.1.4.tar.gz:

Publisher: cd.yml on thenoursehorse/risb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file risb-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: risb-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 55.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for risb-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f26705fb1443c52e7da61f2bf4ef77942479b5611f1085fbcb42586c8a671674
MD5 03e478698a1faa31a95beda022acd4c2
BLAKE2b-256 5c3fe86b733eeea55b5e35ed7772df38df2138f905c29d379c9f9c366403f462

See more details on using hashes here.

Provenance

The following attestation bundles were made for risb-0.1.4-py3-none-any.whl:

Publisher: cd.yml on thenoursehorse/risb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page