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

Add matrix type for spin/flavour symmetric matrices #153

Open
ffreyer opened this issue Jan 5, 2022 · 2 comments
Open

Add matrix type for spin/flavour symmetric matrices #153

ffreyer opened this issue Jan 5, 2022 · 2 comments

Comments

@ffreyer
Copy link
Collaborator

ffreyer commented Jan 5, 2022

I.e. a type for matrices of the form [A 0; 0 A]. We have this in both default Hubbard models in the hopping matrix.

I think this would be useful for measurements. Currently there is dispatch on the model type to differentiate these symmetric matrices from full matrices. But in general multiple model could have this symmetry and require the same specialized method. If we had a matrix type to dispatch on we could treat this more generally.

@ffreyer
Copy link
Collaborator Author

ffreyer commented Jan 18, 2022

I added a Value type holding the number of flavors for dispatch in measurements instead. Not sure if that's a good solution

@ffreyer
Copy link
Collaborator Author

ffreyer commented Oct 19, 2022

I added DiagonallyRepeatingMatrix in #165 but it's only used in measurements atm

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

No branches or pull requests

1 participant