Skip to content

[WIP] Add support for symmetric boundary MPS contractions - #426

Draft
leburgel wants to merge 16 commits into
mainfrom
lb/boundary_mps1
Draft

[WIP] Add support for symmetric boundary MPS contractions#426
leburgel wants to merge 16 commits into
mainfrom
lb/boundary_mps1

Conversation

@leburgel

@leburgel leburgel commented Sep 2, 2026

Copy link
Copy Markdown
Member

Built on top of #423.

Adds support for boundary MPS contractions of systems with C4v symmetry, as well as an implicit gradient of the contraction procedure enabling full variational optimizations. There is still a lot of work on this one, but I already filed the PR to demonstrate how #423 allows us to easily add support for different environment types by only overloading boundary_contraction_expr.

@leburgel
leburgel marked this pull request as draft September 2, 2026 13:57
@Yue-Zhengyuan

Copy link
Copy Markdown
Member

Shall we say C4v boundary MPS? "symmetric" feels ambiguous to me.

@codecov

codecov Bot commented Sep 2, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 74.39024% with 147 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/environments/boundarymps_environments.jl 25.00% 54 Missing ⚠️
...lgorithms/contractions/boundarymps_contractions.jl 60.68% 46 Missing ⚠️
src/algorithms/contractions/localoperator.jl 86.00% 14 Missing ⚠️
...rc/algorithms/boundarymps/symmetric_boundarymps.jl 82.60% 8 Missing ⚠️
...lgorithms/optimization/implicit_differentiation.jl 78.94% 8 Missing ⚠️
src/algorithms/boundarymps/observables.jl 63.63% 4 Missing ⚠️
src/utility/util.jl 75.00% 4 Missing ⚠️
src/algorithms/contractions/bp_contractions.jl 78.57% 3 Missing ⚠️
src/algorithms/boundary_algorithm.jl 60.00% 2 Missing ⚠️
src/algorithms/select_algorithm.jl 33.33% 2 Missing ⚠️
... and 2 more
Files with missing lines Coverage Δ
src/Defaults.jl 85.71% <ø> (ø)
...algorithms/boundarymps/characteristic_equations.jl 100.00% <100.00%> (ø)
...hms/contractions/ctmrg/characteristic_equations.jl 88.75% <ø> (+1.62%) ⬆️
src/algorithms/contractions/ctmrg/network_value.jl 100.00% <100.00%> (ø)
src/algorithms/ctmrg/ctmrg.jl 80.68% <ø> (ø)
src/algorithms/toolbox.jl 95.08% <ø> (-1.85%) ⬇️
src/algorithms/expectation_value.jl 98.80% <98.80%> (ø)
src/algorithms/optimization/peps_optimization.jl 96.03% <85.71%> (-0.81%) ⬇️
src/algorithms/boundary_algorithm.jl 60.00% <60.00%> (ø)
src/algorithms/select_algorithm.jl 79.16% <33.33%> (-3.45%) ⬇️
... and 8 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@leburgel

leburgel commented Sep 3, 2026

Copy link
Copy Markdown
Member Author

Shall we say C4v boundary MPS? "symmetric" feels ambiguous to me.

Sure, does C4vBoundaryMPS sound good?

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.

2 participants