22 May
2018
22 May
'18
1:14 p.m.
On 05/22/2018 03:06 PM, alexandre.bernard1@u-psud.fr wrote:
Then, thanks to both of you, I think it is safe to say that the case is solved :
the hermicity of the hamiltonian is 'ensured' by Kwant by _recalling the same function_ (and taking the complex conjugate) for i--->j and for j--->i, but in the case of a RNG in the function, this yields to different values. But using a table of random numbers generated with a hash function 'kwant.digest.uniform()' works fine !
Thank you very much for your help !
Alexandre
Ah yes, I understand now. I had read Adel's answer but did not believe it at first. He was indeed correct. Happy Kwanting, Joe