Search found 4 matches

by yixuan
16 Jun 2023, 20:32
Forum: HowTos and FAQ for TeNPy
Topic: How to add the resume from checkpoint in yaml file
Replies: 2
Views: 1156

Re: How to add the resume from checkpoint in yaml file

Hi Johannes,

Thank you very much for the explanation.

Yixuan
by yixuan
07 Jun 2023, 05:36
Forum: HowTos and FAQ for TeNPy
Topic: How to add the resume from checkpoint in yaml file
Replies: 2
Views: 1156

How to add the resume from checkpoint in yaml file

Hi all,

I understand that there is a tenpy.resume_from_checkpoint() function, but how do I include it in the yaml file?

Best,

Yixuan Huang
by yixuan
12 Sep 2021, 22:43
Forum: HowTos and FAQ for TeNPy
Topic: MPS.expectation_value_term() not working for iDMRG
Replies: 1
Views: 1926

MPS.expectation_value_term() not working for iDMRG

Hi all, I found that the segment_boundaries in the MPS class is only defined for finite DMRG, and I run into this error for iDMRG when calling expectation_value() or its relatives expectation_value_term(), expectation_value_terms_sum() like this: File "iDMRG.py", line 716, in order order +...
by yixuan
20 May 2021, 00:51
Forum: HowTos and FAQ for TeNPy
Topic: Implementation of t-J model
Replies: 3
Views: 2727

Re: Implementation of t-J model

Hi Leandro, From my understanding, you may need to define your own sites before constructing the model Hamiltonian as the t-J site is not pre-defined in TeNPy, so something like: class tJSite(Site): def __init__(self, conserve='Sz'): (define conserve quantity, operators, local site degree of freedom...