qmch / hamiltonian-truncation

Code implementing Hamiltonian truncation methods to study quantum field theories.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:Python 100.0%