full_diag_effH

tenpy.algorithms.dmrg.full_diag_effH(effH, theta_guess, keep_sector=True)[source]

Perform an exact diagonalization of effH.

This function offers an alternative to lanczos().

Parameters:
  • effH (EffectiveH) – The effective Hamiltonian.

  • theta_guess (Array) – Current guess to select the charge sector. Labels as specified by effH.acts_on.