ITensor / ITensor/ITensorMPS.jl

Typo in definition of "Adagdn" for ElecK site type in the example

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

Nobody has claimed this yet.

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

Description

In the electronk.jl example defining the "Adagdn" operator for SiteType "ElecK", the current implementation is:

Op[s' => 3, s => 1] = 1.0
return Op[s' => 2, s => 4] = 1.0

It seems the second matrix element should instead be:

Op[s' => 4, s => 2] = 1.0

Could you please confirm whether this is a typo?

Best

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

Open the electronk.jl example and inspect the definition of the "Adagdn" operator for SiteType "ElecK". Compare the two matrix-element assignments with the issue description; done means confirming and correcting the second assignment if it is a typo.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.