ITensor / ITensor/ITensorMPS.jl

Issue in mps.jl file, line 899

Open
#105 3 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

I encountered an issue in the mps.jl file on line 899, where the code reads:

Li21 *= prime(dag(si[pL21]), !sᵢ)

It appears that the variable si is used, but based on the context, I believe it should actually be psi. This leads to problems when calling the correlation_matrix function with different operators and assigning specific sites.

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 in mps.jl at line 899 and trace how correlation_matrix handles different operators and assigned sites. Check whether si or psi is the intended variable in that context, then verify the corrected behavior by exercising correlation_matrix with those cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.