pub fn calc_o2_matrix_element<T, SC>(
lowdin_paired_coefficientss: &[LowdinPairedCoefficients<T>],
o2: &ArrayView4<'_, T>,
structure_constraint: &SC,
) -> Result<T, Error>
Expand description
Calculates the matrix element of a two-particle operator between two Löwdin-paired determinants.
§Arguments
lowdin_paired_coefficientss
- A sequence of pairs of Löwdin-paired coefficients, one for each
subspace determined by the specified structure constraint.
o1
- The one-particle operator in the atomic-orbital basis.
structure_constraint
- The structure constraint governing the coefficients.
§Returns
The two-particle matrix element.