Skip to content

Only one TreeTensorNetwork/TTN instead of seperate TTNS/TTNO types #26

Open
@mtfishman

Description

@mtfishman

It would be interesting to see if we can get away with just having a TreeTensorNetwork/TTN type that is treated as an operator or a state depending on the context.

In many ways the MPO/MPS types in ITensors.jl are nearly the same, and it can be awkward having both around.

If we really need to distinguish them for the sake of dispatch, we could have a wrapper type like Map(ttn) or Operator(ttn), which could be like an ITensorNetworkMap: https://github.com/ITensor/ITensors.jl/blob/v0.3.20/src/ITensorNetworkMaps/ITensorNetworkMaps.jl

Originally posted by @mtfishman in #18 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions