Search found 13 matches

by Qottmann
26 Apr 2019, 08:24
Forum: HowTos and FAQ for TeNPy
Topic: Cython compilation error
Replies: 5
Views: 1470

Cython compilation error

Hello, does somebody have an idea what might be the problem here? I tried to compile the cython files but get this error message. I updated cython but the problem remains: :~/TeNPy$ bash ./compile.sh Compiling tenpy/linalg/_npc_helper.pyx because it changed. [1/1] Cythonizing tenpy/linalg/_npc_helpe...
by Qottmann
28 Mar 2019, 17:08
Forum: HowTos and FAQ for TeNPy
Topic: TF Ising Magnetization issues
Replies: 2
Views: 801

Re: TF Ising Magnetization issues

Thanks for your quick response! For finite `L`, there is a finite size gap such that the true ground state is a superposition of the positive and negative X. Okay, so far so good. But I think I miss the point why I would then compute e.g. M^2 = <\left(\sum_i s_x^i\right)^2> . Or to phrase it differe...
by Qottmann
27 Mar 2019, 16:29
Forum: HowTos and FAQ for TeNPy
Topic: TF Ising Magnetization issues
Replies: 2
Views: 801

TF Ising Magnetization issues

Hello, I am trying to reproduce the phase diagram of the transverse field Ising Model on a 1d chain. I essentially use the example code in d_examples_dmrg. from tenpy.networks.mps import MPS from tenpy.models.tf_ising import TFIChain from tenpy.algorithms import dmrg def DMRG_finite(L, g,verbose=Fal...