Closed chMoussa closed 2 weeks ago
Important for #293
@vytautas-a Also if we pass a vector of size (4,1) this works, but adding a batchsize for instance (4,3) will throw an error.
Same for passing say a density matrix. Shape (4,4) keeps (4,4) and works. Now with batchsize, say (4,4,3) will throw you an error.
So it would be better to set the conventions that sesolve
will accept (2^n, batch_size) , mesolve
(2^n, 2^n, batch_size)
Short description
When I pass a density matrix of shape (4, 4, 1), the initial checks on mesolve transform it into a (16, 16, 1). When passing jump operators (4,4) the multiplication fail. See test below
What is the expected result?
No response
What is the actual result?
No response
Steps/Code to reproduce
Tracebacks (optional)
No response
Environment details (optional)
No response
Would you like to work on this issue?
None