Skip to content

Merge pullback algorithm structs#382

Open
leburgel wants to merge 6 commits into
mainfrom
lb/reduce_pullback_structs
Open

Merge pullback algorithm structs#382
leburgel wants to merge 6 commits into
mainfrom
lb/reduce_pullback_structs

Conversation

@leburgel
Copy link
Copy Markdown
Member

Follow-up on #364 and #376.

Removes the dedicated pullback algorithms for SVD, eigh and QR in favor of two general structs indicating either a pullback using a full untruncated decomposition (FullPullback) or a pullback directly on the truncated decomposition (TruncPullback). I also updated the symbols specifying this accordingly, since here we were still using custom symbols :full and :trunc that didn't match any struct or method name.

I also updated the default behavior for QR decompositions to MatrixAlgebraKit.DefaultAlgorithm, since the previous issue with this was resolved in the v0.16.5 release of TensorKit. I bumped the TensorKit compat accordingly.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 12, 2026

Codecov Report

❌ Patch coverage is 60.00000% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/utility/eigh.jl 66.66% 2 Missing ⚠️
src/utility/svd.jl 50.00% 2 Missing ⚠️
Files with missing lines Coverage Δ
src/Defaults.jl 85.71% <ø> (ø)
src/utility/qr.jl 82.14% <ø> (-1.20%) ⬇️
src/utility/eigh.jl 75.65% <66.66%> (ø)
src/utility/svd.jl 80.13% <50.00%> (-0.53%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@leburgel leburgel requested review from lkdvos and pbrehmer May 13, 2026 09:24
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