-
Notifications
You must be signed in to change notification settings - Fork 10
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
Could the index of operator be more flexible? #25
Comments
Hi, BTW, a possible workaround depending on your use case may be to write |
Hi, |
Thanks! I've reopened the issue to make sure I don't forget about it in the future. |
Hi there,
Sorry to bother you. I'm encountering an issue while using QuantumAlgebra to calculate commutators in tight-binding models. Specifically, I need to define a summation like$\sum_{i} f^{\dagger}_{i+1}f_i$ , which represents hopping between sites.
However, it seems that the index of the summed operator can only be assigned a single symbol, which makes it challenging to express terms with shifted indices. Would it be possible to make the operator indices more flexible?
Thank you for your help and for developing such a useful tool!
Best regards,
Yuan Hong
The text was updated successfully, but these errors were encountered: