Skip to content

qmch/hamiltonian-truncation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hamiltonian-truncation

Code for performing the numerical analysis of quantum field theories via the Hamiltonian truncation method, based on work by Slava Rychkov and Lorenzo Vitale.

Create and save to file the potential matrices, for L=6 and Emax=22:

$ python genMatrix.py 6 22

Calculate the spectrum for g=1, L=6 and Emax=20:

$ python phi4eigs.py Emax=22.0_L=6.0.npz 1 20

Tests can be run using the scripts in the tests folder, which are otherwise self-contained:

$ python ./tests/testBasis.py

About

Code implementing Hamiltonian truncation methods to study quantum field theories.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages