Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

liouvillian_fast() returning Qobj with ishherm = true (when it shouldn't) #17

Closed
arnelg opened this issue Apr 9, 2013 · 1 comment
Closed

Comments

@arnelg
Copy link
Member

arnelg commented Apr 9, 2013

Hi,

I don't know if this is a symptom of a more serious bug---because I haven't looked at the code---but for some reason the isherm flag of a Qobj() returned by liouvillian_fast() is set wrong.

Example:

In [202]: (liouvillian(sigmaz(),[sigmam()])).isherm
Out[202]: False

In [203]: (liouvillian_fast(sigmaz(),[sigmam()])).isherm
Out[203]: True

Arne

@jrjohansson
Copy link
Member

liouvillian_fast doesn't set the isherm flag at all, so it becomes the default value True. Unless H=0, the liouvillian should usually be nonhermitian, so False would be a better default value.. Will fix this. Don't think I want to do a full check of the underlaying data in this funciton, because the point of liouvillian_fast is to avoid some unnecessary overhead (although it is still a bit experimental).

jakelishman pushed a commit to jakelishman/qutip that referenced this issue Apr 29, 2021
splch pushed a commit to splch/qutip that referenced this issue Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants