-
Dear Block2 developers, `import numpy as np orb_sym=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0] driver = DMRGDriver(scratch="./tmp", symm_type=SymmetryTypes.SZ, n_threads=4) mpo = driver.get_qc_mpo(h1e=h1e, g2e=g2e, ecore=ecore, iprint=0) ket = driver.get_random_mps(tag="KET", bond_dim=250, nroots=4) kets = [driver.split_mps(ket, ir, tag="KET-%d" % ir) for ir in range(ket.nroots)] |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, thanks for your interest in using the block2 package. The accuracy of DMRG energies can be evaluated by using the discarded weights and the distance to the extrapolated energy, following the procedure described in https://block2.readthedocs.io/en/latest/tutorial/energy-extrapolation.html. |
Beta Was this translation helpful? Give feedback.
Hi, thanks for your interest in using the block2 package. The accuracy of DMRG energies can be evaluated by using the discarded weights and the distance to the extrapolated energy, following the procedure described in https://block2.readthedocs.io/en/latest/tutorial/energy-extrapolation.html.