ITensor icon indicating copy to clipboard operation
ITensor copied to clipboard

Concatenate Local Operators

Open dkweiss31 opened this issue 6 years ago • 0 comments

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!

dkweiss31 avatar Mar 25 '19 22:03 dkweiss31