Using LoopVectorization to compute the commutator of two Hermitian matrices #184
-
I'm trying to leverage LoopVectorization to implement a fast way to calculate the commutator on two Hermitian matrices
This would then be used to model the evolution of the so-called density matrix Since the result
one could imagine simply changing the indexing on For context, my current approach to computing this commutator is via defining Thanks for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I have been planning on adding support for this for a while. I think I've figured out a lot of the details. Hopefully fairly soon I'll start at least dedicating a few hours every night to making progress here.
This would probably be difficult to make optimal, because in |
Beta Was this translation helpful? Give feedback.
I have been planning on adding support for this for a while. I think I've figured out a lot of the details. Hopefully fairly soon I'll start at least dedicating a few hours every night to making progress here.
This would probably be difficult to make optimal, because in
A * B
, it is normally optimal to load vectors fromA
and scalars fromB
.