Hi there,
first of all thanks a lot for developing this great package for Julia, it’s really powerful and simple to use (from my limited experience)!
I’m considering a Hubbard model for a 1D ladder system (i.e. 2xN geometry), and want to constrain the solution to the singlet S^2=0 state, similar to what has been discussed here:
Optimizing dmrg results for expected values of observables
Essentially I want to implement the same operator as suggested in post 6
https://itensor.discourse.group/t/optimizing-dmrg-results-for-expected-values-of-observables/110/6
but I have a hard time understanding what is actually happening in that code.
I guess it is summing up all the local and cross-terms from expanding S^2 into the corresponding local operators?
If some kind person could give me some pointers how to adapt that code for Electron sites, I’d highly appreciate it.
As a follow up question, would you assume that adding such term to the Hamiltonian for a 2x8 system (max.bond dim. ~2000-4000) would still be a feasible calculation? (I guess I’ll just have to try).
Thanks so much,