Skip to content

Concatenate Local Operators #219

@dkweiss31

Description

@dkweiss31

This is something user benoit mentioned already on the website under "AutoMPO Syntax: Concatenate local terms" but miles commented that it would be best to file a feature request. I'm wondering if it would be possible to have a function that would allow you to construct an operator involving operators from an arbitrary number of sites, without explicitly needing to write
ampo += "Sz", j, "Sz", j+1, "S+", j+2, ...
I have a system where the number of operators increases with the system size, so for example for a system of size 7 I will have an operator involving all 7 sites (they will have small coefficients out front compared to more local operators so that DMRG should hopefully still be useful). See benoit's post for an example of the pseudocode that would be useful to have. Thanks!

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