Search found 18 matches

by Qottmann
13 Jun 2019, 17:52
Forum: HowTos and FAQ for TeNPy
Topic: norm_tol parameter for DMRG
Replies: 2
Views: 8071

Re: norm_tol parameter for DMRG

Any answer to this?
by Qottmann
08 May 2019, 14:39
Forum: HowTos and FAQ for TeNPy
Topic: Brute force parallel execution / multiprocessing
Replies: 1
Views: 3673

Brute force parallel execution / multiprocessing

Hello again, Disclaimer: I am far from a computer scientist and probably mix and use wrong terminology :D Also, I am not talking about going deep into the implementation like here https://tenpy.johannes-hauschild.de/viewtopic.php?t=4 I have to calculate many independent ground states for different p...
by Qottmann
03 May 2019, 13:47
Forum: HowTos and FAQ for TeNPy
Topic: How to get the data of NPC arrays
Replies: 1
Views: 2627

How to get the data of NPC arrays

Hello again, I sometimes want to look at the actual data of the tensors in an MPS or MPO network, but I am a bit puzzled by the ._data attribute. For example, I want the W tensor of a Bose Hubbard model w/o conservation. I create the model model_params = dict( filling = 1., n_max = 4, t = 1, U = 1, ...
by Qottmann
29 Apr 2019, 15:03
Forum: HowTos and FAQ for TeNPy
Topic: Cython compilation error
Replies: 5
Views: 6282

Re: Cython compilation error

I did not specifically install this compiler, no. I asked our admin to check if gcc is up to date (which it was) but he also updated a bunch of other things and now it is working. I dont know what exactly was the problem (so for future references this thread might be not very helpful) but at least i...
by Qottmann
29 Apr 2019, 12:24
Forum: HowTos and FAQ for TeNPy
Topic: Cython compilation error
Replies: 5
Views: 6282

Re: Cython compilation error

Hello Johannes, thanks again for the answer! On my personal computer on Ubuntu 18 it works fine, the problem here is on a Ubuntu 16 server. When I try to compile your minimal example I get a similar error: (tenpy) kkottmann@pcl1016:~$ cythonize -bi a.pyx Compiling /home/kkottmann/a.pyx because it ch...
by Qottmann
26 Apr 2019, 08:24
Forum: HowTos and FAQ for TeNPy
Topic: Cython compilation error
Replies: 5
Views: 6282

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: 3862

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: 3862

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...