Search found 4 matches
- 09 Dec 2019, 10:59
- Forum: HowTos and FAQ for TeNPy
- Topic: Constructing a product state of rotated spins
- Replies: 5
- Views: 7724
Re: Constructing a product state of rotated spins
Yeah, that's perfect. Thanks!
- 04 Dec 2019, 14:30
- Forum: HowTos and FAQ for TeNPy
- Topic: Constructing a product state of rotated spins
- Replies: 5
- Views: 7724
Re: Constructing a product state of rotated spins
Actually, I think I've found my answer. The only place I could see the model making a difference to the MPS.from_product_state command was in the term 'M.lat.nps_sites()'. Checking this, it turns out that the TFIChain uses SpinHalfSite and the SpinChain uses SpinSite. Digging through the source code...
- 04 Dec 2019, 14:19
- Forum: HowTos and FAQ for TeNPy
- Topic: Constructing a product state of rotated spins
- Replies: 5
- Views: 7724
Re: Constructing a product state of rotated spins
Hi Johannes, Thanks for the reply! That makes sense, and as you point out, my definition of the rotated spin gives the correct normalised value for the negative-x state. So far, so good. My confusion comes from the way that two different spin chains (in this case, TFIChain and SpinChain with S=1/2) ...
- 03 Dec 2019, 14:02
- Forum: HowTos and FAQ for TeNPy
- Topic: Constructing a product state of rotated spins
- Replies: 5
- Views: 7724
Constructing a product state of rotated spins
Hi there, This is just a quick request for clarification about a particular bit of TenPy syntax. I'm trying to initialise a product state in TenPy's spin chain class which allows me to rotate individual spins by some specified angle, before doing TDVP and computing the quench dynamics starting from ...