Skip to content

Efficient implementation of expect for TTN? #128

Closed
@b-kloss

Description

@b-kloss

expect(op,state) with state a TTN does not appear to be efficient:

using ITensors
using ITensorNetworks
s=siteinds("S=1/2",10)
a=randomMPS(s;linkdims=100)
b=random_mps(s;internal_inds_space=100)
expect(a,"Sz") #ITensors implementation
expect("Sz",b) #ITensorNetworks implementation

where the last line raises an OutOfMemory error.

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