Function sequant::mbpt::detail::compute_biorthogonalizer_coeffs

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_particles particles.

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 <= 5 hardcoded_biorthogonalizer_coeffs tabulates it exactly