ITensor / ITensor/ITensorMPS.jl

Generalize `expect` to two wave functions, i.e. `expect(phi, "Sz", psi; range=1:N)`

Open
#61 0 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

Generalize expect to two wave functions, i.e. expect(phi, "Sz", psi; range=1:N). However, maybe this is no longer a good name for the operation, maybe inner(phi, "Sz", psi; range=1:N) might be a better name?

Also need to coordinate with the notation proposed in ITensor/ITensorMPS.jl#58.

Inspired by this support question.

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 by inspecting the existing expect operation and the notation proposal in ITensor/ITensorMPS.jl#58. Determine whether the API should be generalized under expect or renamed to inner, and coordinate the two-wave-function notation before implementation. Done means the naming and notation are agreed and the requested operation is defined consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
hpc
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.