Closed sunqm closed 6 years ago
I've also noticed that sparse * dense contractions result in zeroes in the result where there shouldn't be any. These issues could be related.
This test should now work, previously the limitation was the presence of Hadamard indices as part of the contraction. However, the current method for handling sparsity for Hadamard indices can perform badly (see commit description for 44c09cb and new issue #53).
For some contraction patterns, ctf.einsum crashes when operands are sparse tensors