quemb.kbe.solver.schmidt_decomp_svd

quemb.kbe.solver.schmidt_decomp_svd(rdm, Frag_sites)

Perform Schmidt decomposition on the orbital coefficients in the real space.

This function decomposes the molecular orbitals into fragment and environment parts using the Schmidt decomposition method. It computes the transformation matrix (TA) which includes both the fragment orbitals and the entangled bath.

Parameters:
  • rdm (ndarray) – Density matrix (HF) in the real space.

  • Frag_sites (list of int) – List of fragment sites (indices).

Returns:

Transformation matrix (TA) including both fragment and entangled bath orbitals.

Return type:

ndarray