3 ms·
..and for complex valued tensors, you need to conjugate.
by fzimmermann89 1y ago
..and for complex valued tensors, you need to conjugate.
- tripplyons 1y agoI've only accounted for real numbers. I'm not sure how to cleanly account for conjugates when some of the einsums would need them and others wouldn't. For example, a matrix product would need a complex conjugate, but a Hadamard product wouldn't. If there is an elegant way to extend this to complex numbers, let me know!