Skip to main content

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.

Metadata

Release files for risb 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for risb 0.1.5
File Size Uploaded
risb-0.1.5.tar.gz 91.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for risb 0.1.5
File Interpreter ABI Platform
risb-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 147.1 kB

Release files / risb-0.1.5.tar.gz

Download URL risb-0.1.5.tar.gz
Size 91.6 kB
Tags Source
SHA-256 checksum
How to use checksums
decf71f957549d53c45b0c17096fc13838a08d85813b524876f66f1c5b037776
BLAKE2b-256 checksum
How to use checksums
564c4b7b83cebf3542d7ce12eb96e74b0861745dc5858274f3396d3b195e5396
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 23, 2026.

Transparency log

Release files / risb-0.1.5-py3-none-any.whl

Download URL risb-0.1.5-py3-none-any.whl
Size 55.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
48dc9df809cf842b2ab5c3743566d2cd7c1750cde5cc09b2099a2e58f98eff0d
BLAKE2b-256 checksum
How to use checksums
11f1ab927dbdd6f8d95c53be59c2c835e82c930eae224a4200f683dbf2eae6a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 23, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page