Function sequant::mbpt::detail::compute_biorthogonalizer_coeffs¶
Defined in File biorthogonalization.cpp
Function Documentation¶
-
std::vector<double> sequant::mbpt::detail::compute_biorthogonalizer_coeffs(std::size_t n_particles, double pseudoinverse_threshold = default_biorthogonalizer_pseudoinverse_threshold)¶
Computes the biorthogonalizer matrix, the pseudoinverse of the permutational overlap matrix of
n_particlesparticles.- Parameters:
n_particles – The rank of external index pairs
pseudoinverse_threshold – The threshold to compute the pseudoinverse matrix (set to default_biorthogonalizer_pseudoinverse_threshold)
- Returns:
The matrix flattened row-major; for
n_particles <= 5hardcoded_biorthogonalizer_coeffs tabulates it exactly