pytc.ansatz.sj._combine_multi_dets

pytc.ansatz.sj._combine_multi_dets(dets, walker, linear_coeffs)[source]

Combine multiple determinants with linear coefficients.

Evaluates each determinant, converts to scalar values, and computes the signed linear combination in log space.

Returns:

((sign, logabs), walker_from_first_det)