Warning Cons_N and Cons_Sz unused

How do I use this algorithm? What does that parameter do?
Post Reply
pasa
Posts: 23
Joined: 09 Mar 2020, 12:45

Warning Cons_N and Cons_Sz unused

Post by pasa »

Dear Tenpy community,

I wanted to ask: is someone having also the following warning when trying to fix conserved quantities in TEBD evolution?

UserWarning: unused options for config FermiHubbardChain:['Cons_N', 'Cons_Sz']

I updated Tenpy to the latest version (currently 0.7.2) and this is the way I am passing the parameters

Code: Select all

model_params = dict(L= L,  U=U, t= J, bc_MPS='finite', Cons_N='N', Cons_Sz='Sz', verbose=verbose) 
I don't think anything is wrong at first sight. Might it be I didn't compile or missed some package?
pasa
Posts: 23
Joined: 09 Mar 2020, 12:45

Re: Warning Cons_N and Cons_Sz unused

Post by pasa »

It was a typo from my side: It is cons_ and not Cons_.... :roll: :roll:
User avatar
Johannes
Site Admin
Posts: 413
Joined: 21 Jul 2018, 12:52
Location: TU Munich

Re: Warning Cons_N and Cons_Sz unused

Post by Johannes »

That's why the warning is there - to help you spot typos :)
Post Reply