SkillAgentSearch skills...

TFermion

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

Install / Use

/learn @PabloAMC/TFermion
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<div align="center"> <img width="500" alt="TFermion" src="https://user-images.githubusercontent.com/20182937/139062847-e45efa4c-b45c-4de4-9a0e-73bffbc2ff76.png">

Paper Paper

</div>

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 pabloamo@ucm.es. 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.

<div align="center"> <img width="300" alt="UCM-Logo" src="https://user-images.githubusercontent.com/20182937/139064090-2f3ddc11-a140-44da-8339-0de2c86a6b7d.png"> </div>
View on GitHub
GitHub Stars14
CategoryDevelopment
Updated1y ago
Forks4

Languages

Python

Security Score

80/100

Audited on Nov 8, 2024

No findings