pyzx icon indicating copy to clipboard operation
pyzx copied to clipboard

Methods to convert a graph to tensor/matrix do not work for multigraphs

Open RazinShaikh opened this issue 1 year ago • 5 comments

RazinShaikh avatar Jun 29 '24 08:06 RazinShaikh

We could look at how dizx does this, as I've already solved this problem before :)

jvdwetering avatar Jun 29 '24 18:06 jvdwetering

Nice, can you link to where it is in the code?

RazinShaikh avatar Jun 29 '24 19:06 RazinShaikh

Huh, I really thought I had implemented this, but there seems to be no mention of tensors anywhere in dizx. @boldar99 Do you remember whether we had support for calculating tensors in dizx?

jvdwetering avatar Jul 01 '24 09:07 jvdwetering

I don't recall any support for tensor contraction in dizx

boldar99 avatar Jul 01 '24 09:07 boldar99

Okay, then I misremembered. Then this is not a solved problem :)

jvdwetering avatar Jul 01 '24 10:07 jvdwetering

Closed by #258

RazinShaikh avatar Jul 23 '24 20:07 RazinShaikh