chi_list

tenpy.algorithms.dmrg.chi_list(chi_max, dchi=20, nsweeps=20)[source]

Compute a ‘ramping-up’ chi_list.

The resulting chi_list allows to increases chi by dchi every nsweeps sweeps up to a given maximal chi_max.

Parameters:
  • chi_max (int) – Final value for the bond dimension.

  • dchi (int) – Step size how to increase chi

  • nsweeps (int) – Step size for sweeps

Returns:

chi_list – To be used as chi_list parameter for DMRG, see run(). Keys increase by nsweeps, values by dchi, until a maximum of chi_max is reached.

Return type:

dict