Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1.21 KB

README.md

File metadata and controls

19 lines (14 loc) · 1.21 KB

vqe-tools

Here we collect projectq-based circuit simulation tools and optimization routines for variational quantum eigensolvers, which we used for our paper on the natural gradient descent optimizer.

Requirements

The code uses standard python packages and projectQ, see requirements.txt for versions of these packages with which the code was tested.

Contents

The collection contains multiple modules:

  1. Free fermion simulation of the QAOA ansatz on the transverse field Ising model
  2. Quantum computing circuits using projectQ as backend. Various useful methods for optimization routines are available
  3. To be included: Optimizers: Vanilla Gradient Descent (GD), Adam, Quantum Natural Gradient Descent (QNG/NatGrad)
  4. A decoupled version of the Fubini-Study matrix implementation in the circuit class. This is the place to look at in order to review our implementation as it is self-contained.
  5. Tests are provided for the functionalities via pytest

Usage

Have a look at the interactive notebooks to explore the functionalities implemented so far. We recommend cloning the repository and starting an own notebook to assure proper rendering of the formulae in the comments.