epraya.Hungorder#

Hungorder(onevals, onevecs, actvals, actvecs)#

Solves the assigment problem with the J-V method implemented in scipy, to organize the eigenvectors and energies of the hamiltonian and relate them with the quantum numbers.

Parameters:
  • onevlas (np.array) – Array of the next point (i+1) energy values of the hamiltonian.

  • onevecs (np.array) – Array of the next point (i+1) eigenvectors of the hamiltonian.

  • actvals (np.array) – Array of the point (i) energy values of the hamiltonian.

  • actvecs (np.array) – Array of the point (i) eigenvectors of the hamiltonian.

Returns:

  • actvals[novo] (np.array) – Sorted energy value of the hamiltonian.

  • actvecs[ (,novo] : np.array) – Sorted eigenvectors of the hamiltonian.