TensorNetwork / tensornetwork.org

Source for The Tensor Network open-source review article
https://tensornetwork.org
Apache License 2.0
150 stars 52 forks source link

Producing tensor network diagrams #27

Closed hws1302 closed 1 year ago

hws1302 commented 1 year ago

Hi, really sorry if this is not the correct place to put this just was wondering if anyone could point me in the right direction for producing tensor network diagrams in the same style as those on the blog post. Thanks so much in advance :)

image
emstoudenmire commented 1 year ago

Not a problem and thanks for asking. The answer might surprise you, which is that I just make them in Apple Keynote. I believe one could make similarly good diagrams in Powerpoint or Google Slides. The main trick to get them to look this way is to use shapes with a border width of 4 pixels, lines of the same width, and then use keyboard commands to rigidly move the shapes by a fixed spacing. For the Latex symbols in the image above, one can either use built-in Latex support in presentation software or use helper apps like Latexit on Mac to drag and drop small pdf's into the presentation.

emstoudenmire commented 1 year ago

In the future I'd love it if there was dedicated software for making tensor diagrams. We have some early prototypes at Flatiron but not finalized yet. You may also be interested in the TensorTrace software by Glen Evenbly.

hws1302 commented 1 year ago

Hey @emstoudenmire thank you so much for the reply. I went with powerpoint in the end using IguanaTeX which has worked nicely! :)

emstoudenmire commented 1 year ago

Glad to hear it!

On Sun, Apr 30, 2023 at 8:19 AM Harry Shaw @.***> wrote:

Hey @emstoudenmire https://github.com/emstoudenmire thank you so much for the reply. I went with powerpoint in the end using IguanaTeX which has worked nicely! :)

— Reply to this email directly, view it on GitHub https://github.com/TensorNetwork/tensornetwork.org/issues/27#issuecomment-1529013098, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHJ3RIBCSHKTCVJUDP3GDLXDZKGPANCNFSM6AAAAAAW5JJIME . You are receiving this because you were mentioned.Message ID: @.***>

-- -=Miles Stoudenmire=- @. @. http://itensor.org/miles/