|
Algorithm 6 VQE solving SVP. |
-
Input:
the lattice basis .
-
Output:
short vector .
-
1:
Perform BKZ-reduction on .
-
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 .
-
5:
Pass and parameters to a classical optimizer. Update the parameter and go to step 4 until the expectation value converges.
|