-
Notifications
You must be signed in to change notification settings - Fork 103
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
Misc #273
Comments
There already are specialized methods implemented: https://github.com/qojulia/QuantumOpticsBase.jl/blob/46b7693e7742095ad60a092ae23e17ffe7a56b9d/src/operators_dense.jl#L148 Or do you mean adding methods for when |
yeah, I mean for a mixed state ( which will allocate because of the matmul. but by being smart with linear algebra, it is in general true that |
Getting back to this now and I'm still a bit confused. The methods for For operators that do have Funny enough, the method for Can we close this issue? |
i think so, yes. probably i had missed the specialized method |
we could add a specialization for data operators
which would make expect non allocating.
The text was updated successfully, but these errors were encountered: