Skip to content

axelperezobiol/edef

Repository files navigation

The codes for EDEF for the nuclear shell model (NSM) with 0, 1 and 2 cuts, are, respectively:

shell-qibo.py, shell_1cut.py, shell_2cuts.py

These codes require the files "helpers" (modules with necessary functions) and ".dat" (NSM Hamiltonian matrix and basis input files) in the same folder. One should choose the input either by setting the default input variables inside the file or directly in the script, ex.

python shell-qibo.py --shell 'sd' --num_p 4 --num_n 0

with "sd" being the nuclear valence shell, with for valence protons and zero valence neutrons. For the other variables (ex. variational method) check the initial variables in the code.

The python code for the ADAPT-VQE for Fermi-Hubbard is:

fh-adapt-vqe-0cuts-prr.py

Here the the default number of sites is four and the default number of fermions are two spin up and two spin down. For 1 cut EDEF for Fermi-Hubbard simulation we use the mathematica code FH-1cut.nb (see notebook file)

About

codes for entropy-driven entanglement forging

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published