Search found 7 matches

by gunheepark0229
22 May 2020, 12:47
Forum: HowTos and FAQ for TeNPy
Topic: Initializing RenyiDisentangler
Replies: 2
Views: 94

Re: Initializing RenyiDisentangler

Maybe I can copy and paste the source code to define my own function that can be used without tebd class :)
by gunheepark0229
22 May 2020, 12:45
Forum: Algorithms
Topic: Algorithm for Gradient Descent Disentangler
Replies: 0
Views: 133

Algorithm for Gradient Descent Disentangler

Hi! I was checking the documents for the Gradient Descent Disentangler, and I had some concepts that I cannot understand. The document says dS = {\partial S(Utheta,n)} / {\partial U} R[i] is given by {\partial S(Y,n)} / {\partial Y_i} The point I cannot understand is how dS is given by: | .----X--R-...
by gunheepark0229
21 May 2020, 15:13
Forum: HowTos and FAQ for TeNPy
Topic: Initializing RenyiDisentangler
Replies: 2
Views: 94

Initializing RenyiDisentangler

Hi! I was trying to use RenyiDisentangler class. The parameter on the initialization is the 'parent', which is the tebd.Engine. However, in my case, I did now want to run the tebd algorithm, but only wanted to get the disentangler in the end. I think I do not need tebd for the disentangler, as I rea...
by gunheepark0229
17 May 2020, 15:49
Forum: HowTos and FAQ for TeNPy
Topic: Error at example code c_tebd.py
Replies: 1
Views: 256

Error at example code c_tebd.py

At the function example_TEBD_gs_tf_ising_infinite, the energy per site is calculated as

E = np.sum(M.bond_energies(psi))

I think you missed 1/2 here.
It can be clearly seen at the final results on the relative error.
by gunheepark0229
16 May 2020, 02:47
Forum: HowTos and FAQ for TeNPy
Topic: npc.zeros and labels
Replies: 2
Views: 346

Re: npc.zeros and labels

I see the difference!

Thanks Johannes
by gunheepark0229
15 May 2020, 10:59
Forum: HowTos and FAQ for TeNPy
Topic: npc.zeros and labels
Replies: 2
Views: 346

npc.zeros and labels

Hi! I am now learning how to use the Tenpy library and I am now following the example code. At the first a_np_conserved.py code, I tried to execute it, but it showed an error. The error was at B_even = npc.zeros([v_leg_even, v_leg_odd.conj(), p_leg], label=['vL', 'vR', 'p']) # virtual left/right, ph...