tightbinder.topology.entanglement_spectrum#

entanglement_spectrum(system, partition, kpoints=None)[source]#

Routine to obtain the eigenvalues from the correlation/density matrix, which is directly related with the entangled Hamiltonian. Should be computable for both PBC and OBC.

Parameters:
  • system (System) – System where we want to compute the the entanglement spectrum.

  • partition (ndarray) – Array with the indices of the atoms in the partition where we want to compute the entanglement spectrum.

  • kpoints (ndarray) – Array of kpoints where we evaluate the entanglement spectrum. Defaults to None which is [0., 0., 0.] for both OBC and PBC.

Return type:

ndarray

Returns:

Entanglement spectrum evaluated at each kpoint (if given).