Skip to content

Conversation

@lkdvos
Copy link
Member

@lkdvos lkdvos commented Aug 5, 2025

This adds some functionality for working with the SU2 version of particle symmetry.
Since this only works at half-filling, I had to define a new number operator (Nup - 1/2)(Ndwn - 1/2) and I don't really have a good name for that so suggestions are definitely welcome.

I slightly reworked some of the hubbard tests to take some more random numbers, but I'm not actually sure if that made a difference. Everything does seem to pass, and the expected values are obtained, so I'm more or less certain that this is now correct.

@lkdvos lkdvos requested review from Yue-Zhengyuan and sanderdemeyer and removed request for sanderdemeyer August 5, 2025 13:34
@codecov
Copy link

codecov bot commented Aug 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/hubbardoperators.jl 96.18% <100.00%> (-1.14%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lkdvos lkdvos force-pushed the hubbard_su2_su2 branch 2 times, most recently from 67ee51e to 1c00f35 Compare August 5, 2025 16:14
@lkdvos lkdvos enabled auto-merge (squash) August 12, 2025 08:54
@lkdvos lkdvos requested a review from Yue-Zhengyuan August 12, 2025 08:55
@lkdvos lkdvos merged commit 50bdcfc into main Aug 12, 2025
9 checks passed
@lkdvos lkdvos deleted the hubbard_su2_su2 branch August 12, 2025 09:33
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.

4 participants