Skip to content

Enforce FixedSpaceTruncation during differentiation#140

Merged
pbrehmer merged 2 commits intomasterfrom
pb-diff-fix-spaces
Feb 24, 2025
Merged

Enforce FixedSpaceTruncation during differentiation#140
pbrehmer merged 2 commits intomasterfrom
pb-diff-fix-spaces

Conversation

@pbrehmer
Copy link
Collaborator

This fixes #138 by overwriting the trscheme to FixedSpaceTruncation in the CTMRG algorithm during differentiation. This is only necessary for :diffgauge since for the :fixed mode the SVD is anyway fixed and only accepts NoTruncation.

@codecov
Copy link

codecov bot commented Feb 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
src/PEPSKit.jl 87.50% <ø> (ø)
...rithms/optimization/fixed_point_differentiation.jl 94.89% <100.00%> (+0.10%) ⬆️

@pbrehmer pbrehmer requested a review from lkdvos February 23, 2025 16:34
@pbrehmer pbrehmer merged commit cac7847 into master Feb 24, 2025
27 checks passed
@pbrehmer pbrehmer deleted the pb-diff-fix-spaces branch February 24, 2025 12:57
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.

Use FixedSpaceTruncation in CTMRG rrule

2 participants