MPO-dense matrix contraction #93
RaimelMedina
started this conversation in
General
Replies: 1 comment 1 reply
-
Try use a different backend, e.g. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I've been trying find a good way to contract an MPO (constructed by tensorizing and decomposing some given matrix) with a dense tensor. I find, however, that the returned contraction path essentially takes the MPO to its dense form and then performs the contraction with the dense tensor. I wonder if I'm doing something wrong when specifying the contraction path or if in fact that is the best way to carry out the contraction. I would appreciate any input you guys can give me. Thanks!
The layout of the MPO cores here is (left_bond, in_dim, out_dim, right_bond) and the input tensor is written as (b, in_1, ..., in_N)
Doing this I got:
So essentially, first reconstruct the dense matrix from the MPO cores and then contract :|
Beta Was this translation helpful? Give feedback.
All reactions