Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 977 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 977 Bytes

LattiQ

Variational quantum algorithms experimental framework for lattice problems based on FastVQA. The experiments are reported in Variational quantum solutions to the Shortest Vector Problem.

TODO

  • Allow for mappings that result in multiple zero reference states.

Features

  • loads matrices in experiments folder
  • encodes the Shortest Vector Problem (SVP) to an Ising spin Hamiltonian
  • runs VQE/QAOA algorithm to find the shortest lattice vector and reports the results

Installation

mkdir build && cd build
cmake .. && make
make

Usage

./bin/LattiQ -e --vqe -r 25 -x 0.175

The -e option says that the qary_25_50 experiment should be run, vqe/qaoa specifies an algorithm to run, -r specifies the rank for the experiment as described in the paper and -x is CVaR's alpha value.