Skip to main content
. 2022 Oct 8;24(10):1428. doi: 10.3390/e24101428
Algorithm 6 VQE solving SVP.
  • Input: 

    the lattice basis B=[b1,,bm]TZ(m+1)×(m+1).

  • Output: 

    short vector x.

  •  1:

    Perform BKZ-reduction on B.

  •  2:

    The SVP problem is encoded to the ground state of the Hamiltonian operator H.

  •  3:

    Construct parameterized quantum circuits.

  •  4:

    Repeat preparing an ansatz state |Ψ(θ) from the parameterized quantum circuit and measuring it in Pauli-Z basis. Calculate the expectation value C(θ).

  •  5:

    Pass C(θ) and parameters to a classical optimizer. Update the parameter θ and go to step 4 until the expectation value converges.