Search found 4 matches
- 14 Apr 2025, 20:42
- Forum: Algorithms
- Topic: Calculating First Excited State w/ DMRG
- Replies: 1
- Views: 7451
Re: Calculating First Excited State w/ DMRG
Ah Johannes mentions in this forum post (https://tenpy.johannes-hauschild.de/viewtopic.php?p=1551&hilit=excit%2A#p1551) that since tenpy version 0.9.0 you have to explicitly include the argument for orthogonal states. So I replaced the “dmrg.run(psi, M, dmrg_params)” line with “dmrg.run(psi, M, ...
- 14 Apr 2025, 18:49
- Forum: Algorithms
- Topic: Calculating First Excited State w/ DMRG
- Replies: 1
- Views: 7451
Calculating First Excited State w/ DMRG
I've been trying to use this post (https://tenpy.johannes-hauschild.de/viewtopic.php?t=157) from 2021 to find excited states of a finite system using DMRG. However, when I use the code Johannes lays out for us, I find that the states I get are all the GS with the same energy. I get the following war...
- 06 Oct 2023, 23:53
- Forum: Implementations
- Topic: iDMRG Convergence Issues
- Replies: 1
- Views: 205107
iDMRG Convergence Issues
I'm having issues with iDRMG convergence, and was hoping someone might have an idea of what the issue is. I'm modeling the following 1D Rydberg Chain Hamiltonian: H = \Sigma [ \Omega (b_j + b_j^+) + V_1 n_j n_{j+1} - \Delta n_j] with the following representations for operators in the Pauli basis: X_...
- 17 Jul 2023, 01:17
- Forum: Implementations
- Topic: Defining a New Operator when Inheriting CouplingMPOModel
- Replies: 1
- Views: 40974
Defining a New Operator when Inheriting CouplingMPOModel
I'm new at TeNPy and am trying to create a model that is a CouplingMPOModel, with a new operator Nj. class myTFLIMModel(CouplingMPOModel): def init_sites(self, model_params): site = SpinHalfSite(conserve=None) Nj = np.array([[1,0],[0,0]]) site.add_op('Nj', Nj) return site def init_terms(self, model_...