Function calc_o0_matrix_element

Source
pub fn calc_o0_matrix_element<T, SC>(
    lowdin_paired_coefficientss: &[LowdinPairedCoefficients<T>],
    o0: T,
    structure_constraint: &SC,
) -> Result<T, Error>
Expand description

Calculates the matrix element of a zero-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. o0 - The zero-particle operator. structure_constraint - The structure constraint governing the coefficients.

§Returns

The zero-particle matrix element.