#include "../directCalculation/direct_calculation.h"#include "../recursiveCalculation/recursiveCalculation.h"#include "gtest/gtest.h"#include "../Utility/misc.h"#include "../IO/readInput.h"Functions | |
| TEST (LocalizationTest, RandomOnSiteEnergy) | |
| TEST | ( | LocalizationTest | , | |
| RandomOnSiteEnergy | ||||
| ) |
1D crystal Randomize the on-site energies to be between 0 an 1 Fix the hopping terms to be 1 for the nearest neighbours and decaying as 1/r^3 Fix the dynamical terms to be 1 for the nearest neighbours and decaying as 1/r^3
calculate 1/two_particle_localization_length = - lim_{|n-m|--> infty} << ln|<m, m+a|G(z)|n, n+a>| >> / |n-m| where << ... >> represents the average over different configurations of disorder
In the current case, we let a = 1 and we want z.real to be at the center of the band
1.4.7