Search found 5 matches
- 29 Jul 2019, 19:28
- Forum: HowTos and FAQ for TeNPy
- Topic: periodic conditions
- Replies: 7
- Views: 6653
Re: periodic conditions
Yes, seems like that. Thank you! I am trying to update.
- 28 Jul 2019, 04:18
- Forum: HowTos and FAQ for TeNPy
- Topic: periodic conditions
- Replies: 7
- Views: 6653
Re: periodic conditions
Hi Johanne, Sorry for the late reply. I was sick for a while... and then I rushed to my final exams. Now I am going to produce the results. I put your code to my jupyter notebook but it responds that "'XXZChain' object has no attribute 'all_onsite_terms' and I don't know why... I imported tenpy...
- 28 May 2019, 11:45
- Forum: HowTos and FAQ for TeNPy
- Topic: periodic conditions
- Replies: 7
- Views: 6653
Re: periodic conditions
Hi Johannes,
Thank you for you reply! But I am still a little bit confused on how to apply this package to the Hamiltonian I am focusing on. How could I adjust the odd numbers and even numbers separately?
Thank you,
Diyora
Thank you for you reply! But I am still a little bit confused on how to apply this package to the Hamiltonian I am focusing on. How could I adjust the odd numbers and even numbers separately?
Thank you,
Diyora
- 28 May 2019, 07:49
- Forum: HowTos and FAQ for TeNPy
- Topic: periodic conditions
- Replies: 7
- Views: 6653
Re: periodic conditions
Actually I am trying to realize this Hamiltonian (an alternative Heisenberg model) H = \Sigma_i (J' S_{2i-1} \cdot S_{2i} + J S_{2i} \cdot S_{2i + 1}) . S are the Spin 1/2 operators. I think I need to change somewhere in the codes, but just don't know where to go with the odd and even "i"....
- 28 May 2019, 07:23
- Forum: HowTos and FAQ for TeNPy
- Topic: periodic conditions
- Replies: 7
- Views: 6653
periodic conditions
Hi there,
I am trying to use your method to solve Hamiltonians with periodic conditions.
I saw that from your website you said you can add couplings by >>> self.add_coupling([1.5, 1.], 0, 'Sz', 0, 'Sz', dx)
May I ask what does "[1.5, 1.]" mean here?
thank you!
Diyora Zhang
I am trying to use your method to solve Hamiltonians with periodic conditions.
I saw that from your website you said you can add couplings by >>> self.add_coupling([1.5, 1.], 0, 'Sz', 0, 'Sz', dx)
May I ask what does "[1.5, 1.]" mean here?
thank you!
Diyora Zhang