Search found 4 matches

by srivatsa91
22 May 2025, 14:43
Forum: HowTos and FAQ for TeNPy
Topic: TDVP and DMRG problem
Replies: 1
Views: 1209

TDVP and DMRG problem

Hello, I have a rather weird problem when trying to implement either TDVP or DMRG with a model where I have hardcore bosons ( \psi ) on sites and spin half on links of a 1d chain. For ex : \sum_{i}\psi^{\dagger}_{i}S^{+}_{i,i+1}\psi_{i+1} +h.c Even when I start with a random initial state, strangely...
by srivatsa91
15 Feb 2025, 12:45
Forum: HowTos and FAQ for TeNPy
Topic: Incorporating staggering in a 2-D model
Replies: 2
Views: 41411

Re: Incorporating staggering in a 2-D model

Thank you very much ! That helped me..
by srivatsa91
14 Feb 2025, 17:02
Forum: HowTos and FAQ for TeNPy
Topic: Incorporating staggering in a 2-D model
Replies: 2
Views: 41411

Incorporating staggering in a 2-D model

Hello , I have been learning to construct my own model on TenPy using "add_multi_coupling" command. Suppose I have a square lattice and my terms in the Hamiltonian have staggered coefficients such as (-1)^(x+y) where (x,y) is a lattice coefficient, can I simply do this using "add_mult...
by srivatsa91
21 Aug 2023, 17:57
Forum: HowTos and FAQ for TeNPy
Topic: Expectation value of an operator
Replies: 1
Views: 19539

Expectation value of an operator

Hi, I am a relatively new entrant into TeNPy. I am interested in calculating an expectation value of an operator with a single conservation law (such as total magnetization being conserved) , <\psi|O(t)|\psi> where |\psi> is a simple product state and my operator O(t) is obtained after a Heisenberg ...