## Search found 4 matches

04 Mar 2020, 21:09
Forum: HowTos and FAQ for TeNPy
Topic: Semi-infinite Ising chain with boundary
Replies: 1
Views: 2356

### Semi-infinite Ising chain with boundary

I am interested in studying the semi-infinite Ising chain with an edge using dmrg. In particular I want to study the Hamiltonian H=-J\sum_{\langle i,j \rangle} \sigma_i \sigma_j - \sum_j h_j \sigma_j, where the external field h_j is there to impose an edge on the system. Obviously, this brakes trans...
19 Dec 2019, 18:05
Forum: HowTos and FAQ for TeNPy
Topic: Problems with creating multi-site coupling on a chain.
Replies: 1
Views: 1005

### Problems with creating multi-site coupling on a chain.

Hello everyone. So I want to implement the following spinless fermion Hamiltonian on a simple 1-D chain : H=\sum_i \left[ V_{10} n_i n_{i+1}+V_{20} n_i n_{i+2}-V_{21} \left( c^\dagger_i c_{i+1} c_{i+2} c^\dagger_{i+3} + h.c. \right)\right]. In order to do this, I use add_multi_coupling as is done in...
19 Dec 2019, 16:43
Forum: HowTos and FAQ for TeNPy
Topic: Running own model yields ModuleNotFoundError
Replies: 2
Views: 958

### Re: Running own model yields ModuleNotFoundError

Thanks a lot! That was very helpful! Now I have a different question, but it's on a different topic so I'll just ask it anew since it's unrelated to this issue!

Thanks again.
18 Dec 2019, 20:26
Forum: HowTos and FAQ for TeNPy
Topic: Running own model yields ModuleNotFoundError
Replies: 2
Views: 958

### Running own model yields ModuleNotFoundError

Hello all. Sorry if this is not the correct place to ask this. So I've written my own model (the details of the model are not important for this question), and the relevant code is import numpy as np from .lattice import Lattice, Site, Chain from ..networks.site import FermionSite from .model import...