Search found 6 matches

by yuchihe
08 Sep 2021, 11:10
Forum: HowTos and FAQ for TeNPy
Topic: How to efficiently save and resume calculation
Replies: 3
Views: 3367

Re: How to efficiently save and resume calculation

I did not notice that in the more recent version (0.8.4), the simulation module exactly enables the resume from checkpoints. The logger system has also been updated and completely moved to the simulation module. Thanks for the author.
by yuchihe
03 Sep 2021, 14:55
Forum: HowTos and FAQ for TeNPy
Topic: How to efficiently save and resume calculation
Replies: 3
Views: 3367

How to efficiently save and resume calculation

My question is related to "circumvent" time-wall of computer clusters. If principle, we can save data before the hitting the time-wall and start a new job to continue the calculation with the data. However, my experience is that for iDMRG, only saving the MPS (psi) is not efficient enough....
by yuchihe
27 Apr 2021, 12:17
Forum: HowTos and FAQ for TeNPy
Topic: Neutral Energy Gap in the extended Boson Hubbard Model
Replies: 4
Views: 2814

Re: Neutral Energy Gap in the extended Boson Hubbard Model

You just need to find that for ground state. For correlation length in iDMRG, you can find the theory for critical chains. https://link.aps.org/doi/10.1103/PhysRevLett.102.255701 For gaped chains, correlation length should simply converge when you increase bond dimension. Correlation length xi=v/gap...
by yuchihe
27 Apr 2021, 11:56
Forum: HowTos and FAQ for TeNPy
Topic: Correlation function with infinite boundary conditions
Replies: 4
Views: 3141

Re: Correlation function with infinite boundary conditions

Sorry for not understanding you question. "segment" is what you need.
by yuchihe
26 Apr 2021, 17:24
Forum: HowTos and FAQ for TeNPy
Topic: Neutral Energy Gap in the extended Boson Hubbard Model
Replies: 4
Views: 2814

Re: Neutral Energy Gap in the extended Boson Hubbard Model

To see if there is a neutral gap, there is an alternative way free of edge effect. You may run infinite DMRG with different bond dimensions and print mps.correlation_length () for different bond dimensions. Plotting correlation_length vs bond dimensions using log-log scale and a convergence tendency...
by yuchihe
26 Apr 2021, 16:59
Forum: HowTos and FAQ for TeNPy
Topic: Correlation function with infinite boundary conditions
Replies: 4
Views: 3141

Re: Correlation function with infinite boundary conditions

Perhaps you want to use mps.correlation_function(ops1, ops2, sites1=None, sites2=None, opstr=None, str_on_first=True, hermitian=False, autoJW=True) See https://tenpy.readthedocs.io/en/latest/reference/tenpy.networks.mps.MPS.html?highlight=correlation#tenpy.networks.mps.MPS.correlation_function For e...