ITensor / ITensor/ITensorMPS.jl

Introduce `setlpos!` for `AbstractProjMPO`

Open
#124 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Introduce functions like setlpos!(p, l) for AbstractProjMPO types that in the simplest case does p.lpos = l (and same for rpos). This could help simplify the code logic for DiskProjMPO which needs to keep track of both the position and the position of the cache. See: https://github.com/ITensor/ITensors.jl/pull/648#discussion_r631111183_

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.

Research direction

Start by locating the AbstractProjMPO types and the DiskProjMPO implementation, then review the linked discussion in ITensors.jl pull request 648. Determine how setlpos! and the corresponding right-position function should update positions and cache-related state. Done means the new functions work for the simplest AbstractProjMPO case and simplify DiskProjMPO position tracking.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend-api-design
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.