Search found 13 matches

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: 3964

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: 3964

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: 27923

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 + ...