Skip to content

add unthunk in rrules of eig! eigh! leftorth! rightorth! #207

Merged
Jutho merged 4 commits intoQuantumKitHub:masterfrom
tangwei94:master
Jan 18, 2025
Merged

add unthunk in rrules of eig! eigh! leftorth! rightorth! #207
Jutho merged 4 commits intoQuantumKitHub:masterfrom
tangwei94:master

Conversation

@tangwei94
Copy link
Contributor

Previously, if eig! eigh! leftorth! rightorth! are followed by tensor contractions implemented with TensorOperations.jl, the backward would fail. Adding unthunk to the rrules of these functions fixes this issue.

@Jutho
Copy link
Member

Jutho commented Jan 18, 2025

Great; we just fixed this for SVD but should have known that this would also have been an issue with the other factorisations. Thanks for fixing this. Good that I haven't tagged 0.14.3 yet, this should definitely be part of it. I will merge this when the tests turn green, and then tag 0.14.3.

@codecov
Copy link

codecov bot commented Jan 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.18%. Comparing base (0f352ce) to head (b589658).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #207      +/-   ##
==========================================
+ Coverage   82.17%   82.18%   +0.01%     
==========================================
  Files          42       42              
  Lines        5380     5384       +4     
==========================================
+ Hits         4421     4425       +4     
  Misses        959      959              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor Author

@tangwei94 tangwei94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using explicit resolution

@Jutho Jutho merged commit 660bdf7 into QuantumKitHub:master Jan 18, 2025
13 checks passed
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