Search found 4 matches

by Ivan Huarte
14 Nov 2023, 22:00
Forum: HowTos and FAQ for TeNPy
Topic: How to build a pure entangled initial state
Replies: 2
Views: 17860

How to build a pure entangled initial state

Hi!. I wanted to create a pure entangled state between 2 spins, but i dont know how to do it via p_state in MPS.from_product_state because by definition a pure entangled state is not a product state. Does anybody know?
by Ivan Huarte
06 Nov 2023, 14:59
Forum: HowTos and FAQ for TeNPy
Topic: Problemm calculating H bonds
Replies: 3
Views: 16262

Re: Problemm calculating H bonds

Thank you very much for the reply Johannes. Both methods work very well, although I will finally choose to use TDVP with separate Sites to be able to make couplings that are not nearest neighbors. I would also like to congratulate you for this library, it is very versatile and has a lot of potential...
by Ivan Huarte
23 Oct 2023, 16:28
Forum: HowTos and FAQ for TeNPy
Topic: Problemm calculating H bonds
Replies: 3
Views: 16262

Re: Problemm calculating H bonds

I have finally found where the problem lies. When introducing a SpinHalfSite in the middle of the BosonSite chain, site 0 (BosonSite) of that unit cell containing it, and just the next one are separated when mapping the IrregularLattice graph into a MPO. Therefore, hopping couplings occur between si...
by Ivan Huarte
06 Oct 2023, 18:05
Forum: HowTos and FAQ for TeNPy
Topic: Problemm calculating H bonds
Replies: 3
Views: 16262

Problemm calculating H bonds

I'm trying to build a cavity array with a spin coupled to one of them in the middle of the array. This is the Hamiltonian: Imagen2.png , where the two first terms are the energy and hopping for the photons in cavities and the last two represents the energy and coupling of the spin to the cavity in s...