ITensor / ITensor/ITensorMPS.jl

Get a view of the orthogonality center of an MPS/MPO

Open
#50 0 comments 0 reactions 1 assignee View on GitHub

@mtfishman is already working on this.

Since Oct 27, 2020.

Dominant language
Julia
Stars
85
Forks
27
Avg merge
22m
Merged PRs (30d)
1

Description

I think it would be useful, based on discussions in ITensor/ITensors.jl#515, to be able to easily get views of the orthogonality center of an MPS/MPO. This would allow someone to just scale the orthogonality centers of an MPS/MPO (if it is a range), for example. It could be syntax like:

psi[ortho_lims(psi)] .*= 2

Here, ortho_lims(psi) could output a range of the orthogonality center, so 1:N if there is no orthogonality and 4:5 if the left limit is 3 and the right limit is 6. We could come up with a different name, since there is an off-by-one convention discrepancy with ITensors.leftlim and ITensors.rightlim (and honestly, I always get confused by the convention used in those functions, and would be open to switching them).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.