FermiFab is a quantum physics toolbox for small fermionic systems. It can represent fermionic many-body quantum states and calculate their reduced density matrices (RDMs). The toolbox transparently handles the inherent antisymmetrization of wavefunctions and incorporates the creation and annihilation formalism. FermiFab offers independent implementations in Python, Matlab and Mathematica, which are supported by C interfaces to speed up computations and provide an additional abstraction layer.
- Installation:
- requirements:
sudo apt install libblas-dev liblapacke-dev
(on Ubuntu Linux) or similar, andpip install -r python/requirements.txt
- run
python setup.py install --user
from the python/ subfolder (orpython3 ...
instead ofpython ...
)
- requirements:
- Documentation: fermifab.readthedocs.io, user guide
- Installation: add the matlab/fermifab subfolder to your Matlab search path
- MEX binaries: if your platform-specific MEX binaries in matlab/fermifab happen to be missing: make sure MEX has been properly configured for your system (
mex -setup
), callbuild_mex.m
and hope that everything compiles well! - Folder structure:
- fermifab: Matlab toolbox files
- mex: MEX C source code
- doc: documentation
- examples: example and demonstration files
- test: testing and verification
- Demo file illustrating the reduced-density matrix (RDM) formalism:
RDMdemo.nb
- The main toolbox code resides in
fermifab.m
and the MathLink C backend - The 'mlink/fermifabML' subdirectory contains binary MathLink executables for several platforms; if these are not compatible with your architecture, consult the local readme file for details how to compile the MathLink source code
Copyright (c) 2008-2020, Ismael Medina Suárez and Christian B. Mendl
All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the Simplified BSD License
http://www.opensource.org/licenses/bsd-license.php
Christian B. Mendl
The FermiFab toolbox for fermionic many-particle quantum systems
Comput. Phys. Commun. 182, 1327-1337 (2011) DOI
preprint http://arxiv.org/abs/1103.0872