ITensor / ITensorNetworks.jl

A package with general tools for working with higher-dimensional tensor networks based on ITensor.
MIT License
56 stars 12 forks source link

Simplify bra, operator, and ket vertex logic of form networks with partitioned graphs #180

Open mtfishman opened 4 months ago

mtfishman commented 4 months ago

I think that it could be simpler to implement the bra, operator, and ket vertex logic in form networks with two layers of partitioned graphs. The outer layer would handle the BP-like partitioned, and then each of those partitions could be partitioned into bra, operator, and ket vertices.

@JoeyT1994

JoeyT1994 commented 4 months ago

Yeah I think it is worth seeing what a re-definition of the FormNetwork type as just a multi-layered PartitionedGraph would bring us. It might make things even easier to reason about.