Skip to content

AlexisRalli/VQE-code

Folders and files

NameName
Last commit message
Last commit date
Apr 7, 2021
Jan 18, 2022
Mar 1, 2021
Apr 9, 2021
Mar 1, 2021
Jul 29, 2021
Jul 29, 2021
Dec 3, 2020
Jun 29, 2021
Dec 3, 2020
Dec 3, 2020
Apr 7, 2021
May 25, 2021
Dec 3, 2020
Dec 3, 2020
Dec 3, 2020

Repository files navigation

QuChem

docs//Media/WelcomeGif.gif

Documentation Status https://coveralls.io/repos/github/AlexisRalli/VQE-code/badge.svg?branch=master Code Quality

quchem is a python library for quantum chemistry VQE simulations.

The quchem module:

  • Uses PySCF to obtain the molecular Hamiltonian of a system of interest
  • Can use Psi4 to obtain the molecular Hamiltonian of a system of interest too
  • The openfermion library converts this to a qubit Hamiltonian
    • Currently only the Jordan-Wigner and bravyi-kitaev transforms are used
  • Google's cirq library is used to build quantum circuits
    • Hartree-Fock (HF) + Unitary Coupled Cluster Single Double (UCCSD) excitations are currently used as the Ansatz
    • Each quantum circuit is simulated using a wrapper for cirq's simulator.

To Install

quchem is a pure python package. The code is hosted on github and if the dependencies are satisfied, a development version can be installed directly by cloning the github repo and running:

git clone https://github.com/AlexisRalli/VQE-code.git

pip install -r requirements.txt
python setup.py develop

Special Dependencies

Note

To install Psi4 please follow Psi4_install for anaconda distribution do:

conda config --add channels http://conda.anaconda.org/psi4
#check
cat ~/.condarc
>> channels:
  - http://conda.anaconda.org/psi4
  - defaults

#to install
conda install psi4

Note

TensorFlow version 1 required for one optimizer (only requires installing if used)! To install for anaconda distribution do:

conda install -c conda-forge tensorflow=1.15

Documentation

The full documentation can be found at: http://quchem.readthedocs.io/en/latest/.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published