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

Symmetry enforcement in meanfield #323

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Symmetry enforcement in meanfield #323

wants to merge 14 commits into from

Conversation

pablosanjose
Copy link
Owner

This stores the output of calling a MeanField object in a new subtype of OrbitalSliceMatrix, called CompressedOrbitalMatrix, that keeps only an encoding of the original matrix. This allows to enforce hermiticity, Nambu structure and other symmetries by construction.

We also include an extension of serialize/deserialize to reinterpret as a given eltype, for compatibility with more fixed-point solvers.

docstrings

simplifications and fixes

fix dispatch for N=2

fixes to CompressedOrbitalMatrix indexing

serialize(T, ::OrbitalSliceArray)

fix test
@pablosanjose pablosanjose changed the title Data compression and symmetry enforcement in meanfield Symmetry enforcement in meanfield Nov 21, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 21, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 83.06011% with 31 lines in your changes missing coverage. Please review.

Project coverage is 92.32%. Comparing base (53fbafc) to head (b02ac86).
Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
src/meanfield.jl 80.68% 17 Missing ⚠️
src/specialmatrices.jl 84.12% 10 Missing ⚠️
src/serializer.jl 71.42% 2 Missing ⚠️
src/show.jl 66.66% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #323      +/-   ##
==========================================
- Coverage   92.47%   92.32%   -0.15%     
==========================================
  Files          39       39              
  Lines        6906     6999      +93     
==========================================
+ Hits         6386     6462      +76     
- Misses        520      537      +17     

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


🚨 Try these New Features:

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