Search found 4 matches

by tanahy
05 Feb 2024, 14:47
Forum: HowTos and FAQ for TeNPy
Topic: Asimmetry in trivial 2D expansion using TDVP
Replies: 2
Views: 27880

Re: Asimmetry in trivial 2D expansion using TDVP

Ok, so I got confused and thought two-side TDVP was as resilient to long time-steps as one-site TDVP, which is not the case according to the documentation. Thus, I heavily reduced the time step and the expansion seems isotropic now! The thing is, there is a peak (or peaks) in the total particle numb...
by tanahy
30 Jan 2024, 11:52
Forum: HowTos and FAQ for TeNPy
Topic: Asimmetry in trivial 2D expansion using TDVP
Replies: 2
Views: 27880

Asimmetry in trivial 2D expansion using TDVP

Hello, I am finding some issues in the time evolution calculation I am doing with TDVP, surely this is a matter of me using the library the wrong way, but I can't catch where. In principle, I have a Bose Hubbard model with hard-core bosons in a square lattice where we also include dipolar interactio...
by tanahy
18 Feb 2021, 11:19
Forum: HowTos and FAQ for TeNPy
Topic: Product state of rotated spins for SpinHalfFermionSite
Replies: 2
Views: 2156

Re: Product state of rotated spins for SpinHalfFermionSite

Ok, so I have found a workaround that I didn't thought before because I hadn't seen this method. The idea is to use MPS.apply_local_op to apply the rotation on each site such that, for example: Sy = model.lat.site(0).Sy #Sy = site.Sy Ry = npc.expm(-1j*np.pi/2*Sy) #print(type(Ry)) [psi.apply_local_op...
by tanahy
17 Feb 2021, 15:55
Forum: HowTos and FAQ for TeNPy
Topic: Product state of rotated spins for SpinHalfFermionSite
Replies: 2
Views: 2156

Product state of rotated spins for SpinHalfFermionSite

As instructed in MPS.from_product_state as well as in the original post I have tried to compose a state with all spins pointing towards Sx in the bloch sphere for the FermiHubbardChain model. However, this seems to be impossible due to an error that arises when I try to use the proposed notation for...