Code: Select all
tebd_params = {'order': 2, 'delta_tau_list': [0.1, 0.001, 1.e-5],
'max_error_E': 1.e-6,
'trunc_params': {'chi_max': 50, 'svd_min': 1.e-10}}
M = XXZChain({'L': 100, 'Jxx': 1., 'Jz': 2., 'hz': 0., 'bc_MPS': 'finite'})
product_state = ['up'] * M.lat.N_sites
psi = MPS.from_product_state(M.lat.mps_sites(), product_state, bc = M.lat.bc_MPS)
eng = tebd.Engine(psi, M, tebd_params)
eng.run_GS()
psi.entanglement_spectrum(False)