peterarose / ufss

MIT License
16 stars 4 forks source link

displaced_vacuum #3

Open gharib85 opened 2 years ago

gharib85 commented 2 years ago

ufss/ufss/HLG/Hamiltonians.Py

disp_oper = expm(disp L._ad + np.conjugate(disp) L._a)

I think it must be with minus sign

peterarose commented 2 years ago

I think you must be right! Fortunately (I am pretty sure that) the rest of the code never uses this method, but I appreciate you bringing this to my attention. I'll make a note to fix this. Have you been using this method, or having problems related to this error?