This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void generate_gates(std::vector<MYGATE>& gates, int N, Real tstep, Real t, Real J, Real W, const SiteSet& sites) | |
{ | |
gates.clear(); | |
const MYGATE::Type type = MYGATE::tReal; | |
t_realvector magnetic_field=W*(unitVector(N)-2.0*randomVector(N)); | |
for(int b = 1; b < N; ++b) | |
{ | |
MYTENSOR hh = J*sites.op("Sz",b)*sites.op("Sz",b+1); | |
hh += t*0.5*sites.op("Sp",b)*sites.op("Sm",b+1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake output: | |
************* | |
-- Building tests | |
-- gtest is in /home/guy/sync/research/bold_expansion/git/ALPSCore/gtest | |
ALPSCore module : alps-utility | |
-- Building static libraries |