Search found 4 matches

by Pr0cess
16 Jun 2023, 16:55
Forum: HowTos and FAQ for TeNPy
Topic: Question about poorly conditioned H matrix in KrylovBased
Replies: 6
Views: 1945

Re: Question about poorly conditioned H matrix in KrylovBased

Thanks for your reply! I used add_multicouplings and add "plus_hc=True" to each term and used "M.H_MPO.is_equal(M.H_MPO.dagger())" to check. My model is hermitian. Maybe the dmrg_params is too strict? I set the parameters as below: dmrg_params = { 'mixer': True, 'trunc_params': {...
by Pr0cess
12 Jun 2023, 10:26
Forum: HowTos and FAQ for TeNPy
Topic: Question about poorly conditioned H matrix in KrylovBased
Replies: 6
Views: 1945

Re: Question about poorly conditioned H matrix in KrylovBased

Another question is about topological EE. I calculated the topological entanglement entropy of the toric code model following Preskill's method (PRL 96, 110404 (2006)). And the Stopo is always 0(the true value is log(2)). a=[9] b=[13] c=[14,17] ab=np.hstack((a,b)) bc=np.hstack((b,c)) ac=np.hstack((a...
by Pr0cess
09 Jun 2023, 14:13
Forum: HowTos and FAQ for TeNPy
Topic: Question about poorly conditioned H matrix in KrylovBased
Replies: 6
Views: 1945

Re: Question about poorly conditioned H matrix in KrylovBased

Thanks a lot for your reply! My model contains long-range interaction, such as the four corners of a square lattice. If this is the reason, I wonder how to avoid this warning message. I use the CouplingModel and set the site and lattice as shown below: site = SpinHalfSite(conserve,sort_charge=True) ...
by Pr0cess
27 May 2023, 14:42
Forum: HowTos and FAQ for TeNPy
Topic: Question about poorly conditioned H matrix in KrylovBased
Replies: 6
Views: 1945

Question about poorly conditioned H matrix in KrylovBased

Hi! I want to use GMRG to calculate the entanglement entropy of the ground state of a 2D Hamiltonian. However, when the tenpy calculates the ground state, the error message came out as "poorly conditioned H matrix in KrylovBased! |psi_0| = 0.337508". I don't know why...Maybe it depends on ...