Giter VIP home page Giter VIP logo

tfermion's Introduction

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

tfermion's People

Contributors

roberco avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.