Skip to content

A non-Clifford gate cost assessment library of quantum phase estimation algorithms for quantum chemistry

License

Notifications You must be signed in to change notification settings

PabloAMC/TFermion

Repository files navigation

TFermion

Paper Paper

Description

TFermion is a library that allows to calculate the expected cost T-gate cost of performing Quantum Phase Estimation with different methods for arbitrary molecules and Hamiltonians. It uses methods from OpenFermion and Pyscf and interfaces with PubChem to download the corresponding molecular data.

You can read our paper at TFermion: A non-Clifford gate cost assessment library of quantum phase estimation algorithms for quantum chemistry.

The current implemented methods (we list the arxiv papers) are:

Other methods not yet implemented include:

How to install

First, install dependencies

# clone project   
git clone https://github.com/PabloAMC/TFermion

# install chemistry libraries
pip install openfermion pyscf

# install wrappers for chemistry libraries
pip install openfermionpsi4 openfermionpyscf

# install auxiliary libraries
pip install pandas numpy h5py scipy sympy matplotlib

How to run

python main.py [molecule name] [method name]

Examples

You can find some snippet examples in the folder snippets

Contributing

We would love TFermion to become an useful tool for reseachers. If you want to join this mission, drop us a line at [email protected]. Things that can be done include implementing new methods (see the snippet in the snippet folder), or counting qubits. Also, some adaptation for periodic systems might be useful.

Authorship

Citation

@article{casares2022tfermion,
  doi = {10.22331/q-2022-07-20-768},
  url = {https://doi.org/10.22331/q-2022-07-20-768},
  title = {{TF}ermion: {A} non-{C}lifford gate cost assessment library of quantum phase estimation algorithms for quantum chemistry},
  author = {Casares, Pablo A. M. and Campos, Roberto and Martin-Delgado, M. A.},
  journal = {{Quantum}},
  issn = {2521-327X},
  publisher = {{Verein zur F{\"{o}}rderung des Open Access Publizierens in den Quantenwissenschaften}},
  volume = {6},
  pages = {768},
  month = jul,
  year = {2022}
}

Contributors

Pablo A. M. Casares (Universidad Complutense de Madrid) and Roberto Campos (Universidad Complutense de Madrid).

License

Apache 2.0 license.

UCM-Logo

About

A non-Clifford gate cost assessment library of quantum phase estimation algorithms for quantum chemistry

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published