FastFermion
fastfermion is a Python package written in C++ for the efficient manipulation of polynomials in Pauli, Fermi and Majorana operators.
Computing the Jordan-Wigner transform of a CrO molecule Hamiltonian with > 105 terms
Installation
fastfermion is available on PyPI:
Features
- Algebraic manipulation of polynomials in Pauli operators, Fermionic creation/annihilation operators, and Majorana operators.
- Fermionic and Majorana operators are automatically put in normal ordered form
- Conversion between Pauli, Fermi, and Majorana representations (Jordan-Wigner and reverse Jordan-Wigner)
- Sparse matrix representations
- Heisenberg evolution: Propagate polynomial through a sequence of unitaries/gates with possible truncation by degree
- Interface with OpenFermion and Cirq
- Up to 200x faster than OpenFermion
- More to come ...
Important: The package is still under development and so the API may change at any time.
Issues
Please post any issues on the GitHub webpage: https://github.com/hfawzi/fastfermion/