Skip to content

Variational quantum algorithms experimental framework for lattice problems based on FastVQA.

License

Notifications You must be signed in to change notification settings

Milos9304/LattiQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4ddb6b5 · Dec 4, 2023

History

56 Commits
Feb 18, 2022
Mar 24, 2022
Nov 23, 2023
Nov 23, 2023
Dec 4, 2023
Feb 13, 2022
Dec 4, 2023
Feb 13, 2022
Feb 18, 2022
Mar 21, 2022

Repository files navigation

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.

About

Variational quantum algorithms experimental framework for lattice problems based on FastVQA.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published