bsc-quantic / Qrochet.jl

Quantum Tensor Networks
https://bsc-quantic.github.io/Qrochet.jl/
Apache License 2.0
1 stars 0 forks source link

Add special visualization for `Quantum` types #11

Open jofrevalles opened 4 months ago

jofrevalles commented 4 months ago

Currently, the Chain tensor networks could be visualized using its field and the Tenet.plot(::TensorNetwork) function. Nevertheless, we could enhance this function so that it plots the MPS, MPO, ... networks following the common used diagrams, i.e., fix the tensors in a grid-like structure.

mofeing commented 4 months ago

I would suggest that we can directly implement a stack/grid visualization for all Quantum TNs.

Maybe we could use something like https://juliagraphs.org/NetworkLayout.jl/stable/#pin-Positions-in-Interative-Layouts to manually set tensor positions.