ITensor / ITensor/ITensorMPS.jl
Typo in definition of "Adagdn" for ElecK site type in the example
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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