Has Index findtype(ITensor T, IndexType t) been deprecated? What is the equivalent of this in the current version of ITensor?
Index findtype(ITensor T, IndexType t)
Hi, so in version 3 of ITensor we have replaced the type of an Index with a set of “Index tags” which are up to four short strings such as “Site” or “n=5” which can describe or label an Index.
The function closest to findtype in version 3 is findIndex, which is described near the bottom of the following documentation page:
Please post a comment below if you have more questions about this or Index tags in v3.