Search found 6 matches

by ling
19 Jul 2022, 07:38
Forum: HowTos and FAQ for TeNPy
Topic: reset environment
Replies: 1
Views: 19467

reset environment

Hi, I want to calculate the ground-state entanglement of the transverse Ising model H=J_{z}\sum_{i=1}^{L}\sigma_{i}^{z}\sigma_{i+1}^{z}-h_{x}\sum_{i=1}^{L}\sigma_{i}^{x} and get a list C_{i,i+1}(h_{x})=[C(h_{x}=0.5),C(h_{x}=0.51),...,C(h_{x}=1.5)] . L = 10 #the length of Ising chain with periodic bo...
by ling
21 Apr 2022, 09:05
Forum: HowTos and FAQ for TeNPy
Topic: parallel computing
Replies: 4
Views: 3250

Re: parallel computing

Hi Johannes,

Thank you very much for your detailed explanation!

According to your suggestion, I successfully modified the submitted script.
by ling
12 Apr 2022, 15:57
Forum: HowTos and FAQ for TeNPy
Topic: parallel computing
Replies: 4
Views: 3250

Re: parallel computing

Hi Johannes, Thank you very much for your reply! In order to calculate different models and simplify the steps of submitting tasks, I have handled the model part and the submit-task part separately. I don't know which part of the file should use the command about ‘export OMP_NUM_THREADS=1’ . The fol...
by ling
17 Feb 2022, 16:48
Forum: HowTos and FAQ for TeNPy
Topic: parallel computing
Replies: 4
Views: 3250

parallel computing

Hello, Recently, when I submitted a task to the server, the administrator told me that the submitted task occupied all the cores on the server during calculation, and asked me to modify it before submitting. But I didn't use any parallel-computing instructions when submitting the task. I wonder if p...
by ling
25 Sep 2021, 08:29
Forum: Algorithms
Topic: Heisenberg XXZ chain with stagger interaction
Replies: 3
Views: 8681

Re: Heisenberg XXZ chain with stagger interaction

Tnanks for your reply! :D I'm sorry that I didn't clarify the errors last time. Following the description in the previous post, The errors are as follows: The magnetization (\sum_{i}(-1)^{i}<S_{i}^{z}>)/L is no longer equal to 0 when J_{z} is more larger, and the entanglement on the first bond does ...
by ling
23 Jul 2021, 08:24
Forum: Algorithms
Topic: Heisenberg XXZ chain with stagger interaction
Replies: 3
Views: 8681

Heisenberg XXZ chain with stagger interaction

Hi, happy new day! I try to use tenpy to calculate the entropy of Heisenberg XXZ chain (open boundary) with alternating interaction. Hailtonian: H=\sum_{i=1}^{L} {J ( 1 + \gamma (-1)^{i} ) (S_{i}^{x} S_{i+1}^{x} + S_{i}^{y} S_{i+1}^{y} + J_{z} S_{i}^{z} S_{i+1}^{z})} This is my program. from tenpy.m...