/ED_lanczos

Exact diagonalization Lanczos

Primary LanguageC++

ExactDiagonalization Lanczos

Exact diagonalization of Hubbard chain using Lanczos algorithm. The H|psi> calculation is parallelized using openmp, and the calculation is matrix free(no matrix is stored in the memory). The code can generate correct ground state energy, wavefunction, and spatial Green's function(for each site).

This code used openmp, gsl random number generator, lapack, blas. After install all the library, simply change the Makefile to link to your local library and type make to compile the code. The exectutable is "exactdiagonalization.out". The commandline arguments are: N, U, mu, t, broaden, model(0 for anderson or 1 for hubbard ) and itmax.

The implementation note can be found in directory doc.

Tsung-Han Lee