ITensor / ITensor/ITensorMPS.jl

Define `expect(::MPS,::String,::Int)` for measuring a single site?

Open
#58 2 comments 0 reactions 1 assignee View on GitHub

@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

  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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.