Skip to main content

FermiLib - An open source package for analyzing, compiling and emulating quantum algorithms for simulation of fermions.

Project description Documentation Status

FermiLib is an open source effort for analyzing quantum simulation algorithms.

The first version (v0.1a0) 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.

Getting started

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.

How to contribute

To contribute code please adhere to the following very simple rules:

  1. Make sure your new code comes with extensive tests!
  2. 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.
  3. Put global constants and configuration parameters into src/fermilib/, and add from config import * in the file that uses the constants/parameters.

Documentation can be found here.


The first release of FermiLib (v0.1a0) was developed by Ryan Babbush, Jarrod McClean, Damian S. Steiger, Ian D. Kivlichan, Thomas Häner, Vojtech Havlicek, Matthew Neeley, and Wei Sun.


FermiLib is released under the Apache 2 license.

Download files

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

Files for fermilib, version 0.1a0
Filename, size File type Python version Upload date Hashes
Filename, size fermilib-0.1a0.tar.gz (142.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page