Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix faulty CTMRG contractions #110

Merged
merged 3 commits into from
Dec 21, 2024
Merged

Fix faulty CTMRG contractions #110

merged 3 commits into from
Dec 21, 2024

Conversation

pbrehmer
Copy link
Collaborator

Small PR which fixes a wrong conj and index mismatch in ctmrg_contractions.jl. Thanks to @Yue-Zhengyuan and @Sander-De-Meyer for bringing this up!

@pbrehmer pbrehmer requested a review from lkdvos December 21, 2024 11:21
Copy link

codecov bot commented Dec 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
src/algorithms/contractions/ctmrg_contractions.jl 66.89% <ø> (ø)
src/utility/rotations.jl 100.00% <ø> (ø)

lkdvos
lkdvos previously approved these changes Dec 21, 2024
@Yue-Zhengyuan
Copy link
Contributor

Before merge, can we fix one more docstring?

Rotate north direction of `t` to `dir` by successive applications of `rotl90`.

I think it is actually

Rotate the `dir` direction of `t` to face north by successive applications of `rotl90`

@pbrehmer
Copy link
Collaborator Author

You're right, thanks for catching that. By the way, one of the next things I'll do in the code is a major overhaul of the documentation. I will try to improve (correct) all docstrings and write up proper examples showcasing all features of the package. So if you have suggestions on the docs, let me know - I'll tag you, once I open up the PR!

@pbrehmer pbrehmer requested a review from lkdvos December 21, 2024 20:45
@lkdvos lkdvos linked an issue Dec 21, 2024 that may be closed by this pull request
@pbrehmer pbrehmer enabled auto-merge December 21, 2024 21:14
@pbrehmer pbrehmer merged commit 5f46c16 into master Dec 21, 2024
27 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.

Bra and ket conjugated incorrectly in recent commits
3 participants