How to add additional U(1) Symmetry in BosonSite for Tenpy
Posted: 09 Jun 2025, 05:47
Dear
Recently, I have started learning to implement infinite Density Matrix Renormalization Group (DMRG) calculations using the Tenpy library.
I would like to introduce an additional U(1) symmetry in the original `BosonSite`:
$$
P = \sum_j (L - j) n_j
$$
as detailed in equation (2) of [this paper](https://journals.aps.org/prb/abstract/1 ... 107.195131). Could you kindly advise on how to modify the `BosonSite` implementation to incorporate this symmetry?
Thank you for your time and guidance.
Recently, I have started learning to implement infinite Density Matrix Renormalization Group (DMRG) calculations using the Tenpy library.
I would like to introduce an additional U(1) symmetry in the original `BosonSite`:
$$
P = \sum_j (L - j) n_j
$$
as detailed in equation (2) of [this paper](https://journals.aps.org/prb/abstract/1 ... 107.195131). Could you kindly advise on how to modify the `BosonSite` implementation to incorporate this symmetry?
Thank you for your time and guidance.