Skip to content

SYalouz/VQA_CV_BoseHubbard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

VQA_CV_BoseHubbard

We give here a sample python code for the simulation of a Variational Quantum Algorithm (VQA) to encode a strongly correlated many-bosons wavefunction on a continuous-Variable photonic device. Here, the targeted problem is the ground state of the attractive Bose-Hubbard model.

The code is based on two important sections:

1. We build the matrix representation of the Hamiltonian and we exactly diagonalize it.
    This provides an exact reference for the ground state of the model.
2. We simulate Variational Quantum Algorithms (VQA) by either minimizing the infidelity
   (or the energy) of the resulting trial state at the end of the circuit.

For the code to work, several non-native python packages are required:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages