Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
407 views
in Technique[技术] by (71.8m points)

python - Is there any package like einsum which could with symmetry?

I have some tensor contractions, e.g., A[abcd] B[abcd] = C, where A[abcd]=A[badc]and B[abcd]=B[badc].

I checked the manual of einsum https://numpy.org/doc/stable/reference/generated/numpy.einsum.html, but did not find any option of symmetry.

Is there any option in einsum or other package can handle this symmetry, preferably by python/julia, that could make the contraction faster?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...