ITensor / ITensor/ITensorMPS.jl
Define `expect(::MPS,::String,::Int)` for measuring a single site?
Open
@emstoudenmire is already working on this.
Since Jul 17, 2021.
- Dominant language
- Julia
- Stars
- 85
- Forks
- 27
- Avg merge
- 22m
- Merged PRs (30d)
- 1
Description
It can be useful to measure expected values on only a single site or a small number of sites. Currently the notation for measuring "Sz" on a site j is:
expect(psi,"Sz";site_range=j:j)
so an alternate notation for this could be
expect(psi,"Sz",j)
with the option to pass more operators such as expect(psi,"Sz",j,"Sx",j,"Sz",k) for which the return value would be a vector.
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.
Assessment
This issue has not been assessed yet.