ITensor / ITensor/ITensorMPS.jl

Set `eager=true` in `exponentiate` backend

Open
#40 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

In ITensorTDVP.jl v0.3, we set eager=true by default when using the KrylovKit.exponentiate solver/updater, while in ITensorTDVP.jl v0.4 we don't override the default that KrylovKit.jl sets, which is eager=false. This can potentially have big performance penalties since it can lead to many unnecessary applications of the reduced operator.

See:

For users hitting this issue who are using ITensorTDVP.jl v0.4, you can manually pass updater_kwargs=(; eager=true) to tdvp to get the same (more efficient) behavior of ITensorTDVP.jl v0.3.

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 tracing the KrylovKit.exponentiate updater backend and the tdvp updater_kwargs entry point. Verify how ITensorTDVP.jl v0.4 handles the eager default compared with v0.3 and the behavior described in PR 74. Done means the backend uses eager=true by default and the performance regression is covered by an appropriate check.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
performance
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.