<HAMILTONIAN name="t-J complex">
<PARAMETER name="mu" default="0"/>
<PARAMETER name="tr" default="1"/>
<PARAMETER name="tl" default="1"/>
<PARAMETER name="J" default="1"/>
<PARAMETER name="V" default="0"/>
<PARAMETER name="t'" default="0"/>
<PARAMETER name="J'" default="0"/>
<PARAMETER name="V'" default="0"/>
<PARAMETER name="t''" default="0"/>
<PARAMETER name="J''" default="0"/>
<PARAMETER name="V''" default="0"/>
<PARAMETER name="t0" default="t"/>
<PARAMETER name="t1" default="t'"/>
<PARAMETER name="t2" default="t''"/>
<PARAMETER name="V0" default="V"/>
<PARAMETER name="V1" default="V'"/>
<PARAMETER name="V2" default="V''"/>
<PARAMETER name="J0" default="J"/>
<PARAMETER name="J1" default="J'"/>
<PARAMETER name="J2" default="J''"/>
<BASIS ref="t-J"/>
<SITETERM site="i">
<PARAMETER name="mu#" default="mu"/>
-mu#*n(i)
</SITETERM>
<BONDTERM source="i" target="j">
<PARAMETER name="V#" default="0"/>
<PARAMETER name="J#" default="0"/>
-tr*fermion_hop_r(i,j) -tl*fermion_hop_l(i,j) + J#*exchange(i,j)+(V#-J#/4)*n(i)*n(j)
</BONDTERM>
</HAMILTONIAN>
Here the printed data for N_total = 4
[[x=[0]
y=[-7.5655955]
props={'observable': 'Energy', 'tl': 'exp( - 0.19634954084899999827 * I)', 'MODEL_LIBRARY': 'my_models.xml', 'Sz_total': 0.0, 'J': 2.0, 'tr': 'exp(0.19634954084899999827 * I)', 'TOTAL_MOMENTUM': 0.0, 'filename': './parm1a.task3.out.h5', 'LATTICE': 'chain lattice', 'hdf5_path': '/spectrum/sectors/0/results/Energy', 'SEED': 1318589528.0, 'CONSERVED_QUANTUMNUMBERS': 'N,S,Sz', 'N_total': 4.0, 'MODEL': 't-J complex', 'L': 16.0}]], [[x=[0]
y=[-7.31510355]
props={'observable': 'Energy', 'tl': 'exp( - 0.19634954084899999827 * I)', 'MODEL_LIBRARY': 'my_models.xml', 'Sz_total': 0.0, 'J': 2.0, 'tr': 'exp(0.19634954084899999827 * I)', 'TOTAL_MOMENTUM': 0.392699081699, 'filename': './parm1a.task4.out.h5', 'LATTICE': 'chain lattice', 'hdf5_path': '/spectrum/sectors/0/results/Energy', 'SEED': 1587024985.0, 'CONSERVED_QUANTUMNUMBERS': 'N,S,Sz', 'N_total': 4.0, 'MODEL': 't-J complex', 'L': 16.0}]]
What happens is that the curve for v_c is not correct (here below the values)
N v_c
2.0 0.387678357479
4.0 0.637872515084
6.0 0.946138404787
8.0 0.932824458966
10.0 1.07412501501
12.0 0.625143469145
14.0 0.608197205496
and for the case N = 4m (with anti-perdiodic bc) the compressibility is negative. It looks like the values for N = 4m+2 are correct though (by checking the PRL by Ogata et al. cited above). Therefore, probably the case N=4m with anti-periodic bc has some mistake in my coding. I am not sure if what is not working is the hamiltonian definition, the way I implemented the complex coefficients or I don't know what else. Maybe the momentum definition when I take k = 2π/L? In the online documentation I found that this can be a source of mistake, but it's not clear to me how to do it correctly in the python script. From the documentation it looks like one has to pass a string but I get an error, while in this way 'TOTAL_MOMENTUM' : 2*Pi*K/L no error occurs.