Solver don't keep the format of the DensityMatrix #95
-
I was trying to use partial trace in the density matrices after using the solver.solve method, but this method "blends" the format of my density matrices. What do I mean with "blend" is that I start with a Zero.tensor(I), which in my problem Zero is [[1,0,0],[0,0,0],[0,0,0]] and I is the 2x2 identity, and end up with a 6x6 matrix, which is ok, but the format starts as (3,2) dimension density matrix and end up with a (6,) dimension density matrix, I really don`t know what to do, since I want to do partial trace out the 2x2 subsystem in my analyses. (Sorry about all the questions in these last months) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Ah interesting - thanks for pointing this out. Nothing to apologize for! It's great to have users who point out issues like this :) . This is definitely a problem - Dynamics respects the I'll make an issue for this as something that needs to be fixed in Dynamics. For now though you'll need to manually reset the subsystem dimensions in the
Doing |
Beta Was this translation helpful? Give feedback.
-
@ArturDomingues just FYI PR #99 fixes this problem. We are hoping to have a release in the next few weeks so this issue should be resolved soon! |
Beta Was this translation helpful? Give feedback.
@ArturDomingues just FYI PR #99 fixes this problem. We are hoping to have a release in the next few weeks so this issue should be resolved soon!