FermiLib - An open source package for analyzing, compiling and emulating quantum algorithms for simulation of fermions.
FermiLib is an open source effort for analyzing quantum simulation algorithms.
The current version (v0.1a2) is an alpha release which features data structures and tools for obtaining and manipulating representations of fermionic Hamiltonians. FermiLib is designed as a library on top of ProjectQ and leverages ProjectQ to compile, emulate and simulate quantum circuits. There are also plugins available for FermiLib.
To start using FermiLib, simply follow the installation instructions in the intro. There, you will also find code examples. Also, make sure to check out the ProjectQ website and the detailed code documentation. Moreover, take a look at the available plugins for FermiLib.
In order to generate molecular hamiltonians in Gaussian basis sets and perform other complicated electronic structure calculations, one can install plugins. We currently support Psi4 (plugin here, recommended) and PySCF (plugin here).
How to contribute
To contribute code please adhere to the following very simple rules:
- Make sure your new code comes with extensive tests!
- Make sure you adhere to our style guide. Until we release a code style guide, just have a look at our code for clues. We mostly follow pep8 and use the pep8 linter to check for it.
- Put global constants and configuration parameters into src/fermilib/config.py, and add from config import * in the file that uses the constants/parameters.
Documentation can be found here.
If you have any other questions, please contact firstname.lastname@example.org.
FermiLib is released under the Apache 2 license.