Search found 32 matches

by QichengTang
31 Jan 2019, 14:16
Forum: HowTos and FAQ for TeNPy
Topic: How to generate a random MPS in tenpy
Replies: 5
Views: 6903

Re: How to generate a random MPS in tenpy

Thanks for your reply. But what i'm looking for is not a random product state. What I want is a general state not a product state. I konw that there is a method to obtain a random state by a random unitary evolution process, but i'm asking a more simple way to get a random state, like by using some ...
by QichengTang
29 Jan 2019, 15:48
Forum: HowTos and FAQ for TeNPy
Topic: Scaling of entanglement entropy for iDMRG
Replies: 7
Views: 7024

Re: Scaling of entanglement entropy for iDMRG

I mean, in iDMRG, the boundary condition is like a periodic boundary condition. So, your problem is you use the wrong formula, you should use a formula for periodic boundary condition when you do an iDMRG calculation. In a finite case, you can choose open boundary condition or periodic, but in tenpy...
by QichengTang
29 Jan 2019, 14:22
Forum: HowTos and FAQ for TeNPy
Topic: Scaling of entanglement entropy for iDMRG
Replies: 7
Views: 7024

Re: Scaling of entanglement entropy for iDMRG

hi, i believe the reason is that in iDMRG the boundary condition is like a periodic boundary condition.
Your formula is for the open boundary condition, and for periodic boundary condition this should be c/3 but not c/6.
I recommend you to read the following two ref: arXiv:hep-th/0405152 and arXiv:0905.4013.
by QichengTang
21 Jan 2019, 13:49
Forum: HowTos and FAQ for TeNPy
Topic: How to generate a random MPS in tenpy
Replies: 5
Views: 6903

How to generate a random MPS in tenpy

how to generate a random MPS? Is the function "npc.Array.from_func" helpful?
PS. I think it's worthy to add a function like "rand_mps".
by QichengTang
17 Jan 2019, 15:18
Forum: HowTos and FAQ for TeNPy
Topic: the truncation in dmrg
Replies: 5
Views: 5732

Re: the truncation in dmrg

Okay, I see. I'm wrong about the truncation protocol in tenpy.
But, it's still kind of weird for me, I mean, the value of 1.e-10 ("svd_min") is a very small number, it should not influence the result, or I'm wrong with some very trivial things?
by QichengTang
17 Jan 2019, 06:56
Forum: HowTos and FAQ for TeNPy
Topic: the truncation in dmrg
Replies: 5
Views: 5732

Re: the truncation in dmrg

Thanks for your reply, I know that the problem maybe the degeneracy of the ground state, but that's not my point. My point is, I thought only one of these parameters "svd_min", "trunc_err", "max_bond" for truncation works. I mean I thought there is a protocol to choose ...
by QichengTang
08 Jan 2019, 03:36
Forum: HowTos and FAQ for TeNPy
Topic: the truncation in dmrg
Replies: 5
Views: 5732

the truncation in dmrg

I think the following finding should be noticed by everyone who uses tenpy. When I run dmrg for xxz chian, I found that the result will be strongly dependents on the parameter "svd_min", and this doesn't make sense. I have run the following test to show the problem. I'm confused, what may ...