Search found 5 matches

by steven_tao
02 Apr 2020, 01:10
Forum: HowTos and FAQ for TeNPy
Topic: Define spin-1 Boson site
Replies: 0
Views: 7

Define spin-1 Boson site

Dear Community, How we can define the spin-1 Boson site for the following Hamiltonian: H = - t \sum_{i, \sigma} \left(b^\dagger_{i, \sigma} b_{i+1, \sigma} + H.c. \right) + U_1 \sum_i n_{i, \sigma}\left(n_{i, \sigma}-1\right) + U_2 \sum_i \mathbf{S}_i^2 where spin operator \mathbf{S}_i = \sum_{\sigm...
by steven_tao
24 Mar 2020, 01:22
Forum: HowTos and FAQ for TeNPy
Topic: Adding disorders and adding a site to 1D SSH chain
Replies: 2
Views: 336

Re: Adding disorders and adding a site to 1D SSH chain

Hi Johannes, it is greatly appreciated.
by steven_tao
24 Mar 2020, 01:20
Forum: HowTos and FAQ for TeNPy
Topic: 2D DMRG with boundary conditions and lattice index
Replies: 2
Views: 47

Re: 2D DMRG with boundary conditions and lattice index

Hi Johannes, thank you very much. I got it.
by steven_tao
22 Mar 2020, 04:58
Forum: HowTos and FAQ for TeNPy
Topic: 2D DMRG with boundary conditions and lattice index
Replies: 2
Views: 47

2D DMRG with boundary conditions and lattice index

Hi everyone: (1) I want to simulate a self-defined 2D lattice with Finite lattice sizes along both the x and y directions. I am not sure how to define the boundary conditions. Is it the right way to define the boundary condition like this: class Mylattice(lattice.Lattice): def __init__(self, Lx, Ly,...
by steven_tao
15 Mar 2020, 06:32
Forum: HowTos and FAQ for TeNPy
Topic: Adding disorders and adding a site to 1D SSH chain
Replies: 2
Views: 336

Adding disorders and adding a site to 1D SSH chain

Hello, TeNPy community, I want to simulate the following Boson-Hubbard Hamiltonian on a simple SSH chain: H = \sum_i \left(t_1 b_i^\dagger a_i + t_2 a_{i+1}^\dagger b_i + H.c.\right) + \sum_i (U_1 a_i^\dagger a_i a_i^\dagger a_i + U_2 b_i^\dagger b_i b_i^\dagger b_i) + \sum_i (V_i a_i^\dagger a_i + ...