Page 1 of 1

Warning Cons_N and Cons_Sz unused

Posted: 04 Feb 2021, 09:44
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?

Re: Warning Cons_N and Cons_Sz unused

Posted: 04 Feb 2021, 18:16
by pasa
It was a typo from my side: It is cons_ and not Cons_.... :roll: :roll:

Re: Warning Cons_N and Cons_Sz unused

Posted: 04 Feb 2021, 19:22
by Johannes
That's why the warning is there - to help you spot typos :)