Skip to content

Conversation

@Yue-Zhengyuan
Copy link
Member

@Yue-Zhengyuan Yue-Zhengyuan commented Feb 27, 2025

This PR adds the construction of bond environments using neighboring tensors and Schmidt weights of a bond. They are intended to be used in Neighborhood Tensor Update for InfiniteWeightPEPS. The code is adapted from YASTN, and I have put the credit in src/algorithms/contractions/bondenv/benv_ntu.jl.

TODO

  • The direction names t/l/b/r are directly borrowed from YASTN, and need to be changed to north, west, south, east to follow PEPSKit convention after everything else have been figured out.
  • Determine the best codomain/domain choice for the PEPSOrths (the X and Y tensors) that can reduce the number of permutes and twists.
  • enlarge_corner_se, enlarge_corner_nw may reuse functions in existing CTMRG code.

@codecov
Copy link

codecov bot commented Feb 27, 2025

Codecov Report

❌ Patch coverage is 83.54430% with 13 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/algorithms/contractions/bondenv/benv_tools.jl 82.35% 9 Missing ⚠️
src/algorithms/contractions/bondenv/benv_ntu.jl 85.71% 4 Missing ⚠️
Files with missing lines Coverage Δ
src/PEPSKit.jl 100.00% <ø> (ø)
src/algorithms/contractions/bondenv/benv_ntu.jl 85.71% <85.71%> (ø)
src/algorithms/contractions/bondenv/benv_tools.jl 82.35% <82.35%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Yue-Zhengyuan Yue-Zhengyuan marked this pull request as ready for review May 7, 2025 02:58
@Yue-Zhengyuan Yue-Zhengyuan marked this pull request as draft May 26, 2025 03:37
@lkdvos lkdvos force-pushed the master branch 2 times, most recently from ad4945f to 37ace4c Compare June 13, 2025 12:14
@Yue-Zhengyuan Yue-Zhengyuan changed the title Add NTU bond environments Add Neighborhood Tensor Update (NTU) Oct 24, 2025
@Yue-Zhengyuan Yue-Zhengyuan self-assigned this Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant