Replies: 1 comment 4 replies
-
I just realised, this is because the method is not defined for density matrices with slepc. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Is there an expm method implemented for density matrices evolution with slepc backend? I tried passing in a density matrix in the sample mpi code here https://quimb.readthedocs.io/en/latest/distributed%20parallelism%20-%20mpi.html and got this error
Here are a few observations while testing it out for n = 5 to figure out the problem
1.
gs = qu.up() @ qu.up().H es = qu.down() @ qu.down().H psi0 = qu.kron(qu.eye(2),gs,gs,gs,qu.eye(2))/np.sqrt(2**n)
doesn't show any error
gs = qu.up() @ qu.up().H es = qu.down() @ qu.down().H print(gs) psi0 = qu.kron(qu.eye(2),gs,es,gs,qu.eye(2))/np.sqrt(2**n)
shows the error message I posted above.
`gs = qu.up() @ qu.up().H
es = qu.down() @ qu.down().H
print(gs)
psi0 = qu.eye(2**n)
works well
anytime I include "es", this error arises. My guess is when dealing with the parts of psi0 for evolution with MPI, it is encountering a smaller null ket. If anyone has encountered the same issue and were able to bypass it in some way, could you please help me with this?
Beta Was this translation helpful? Give feedback.
All reactions