reconstruct_t2
reconstruct_t2(terms, nocc)
Reconstructs spin-restricted amplitudes from a double-factorized decomposition.
Computes and slices to the occupied/virtual block [:nocc, :nocc, nocc:, nocc:].
Parameters
- terms – the list of 2-tuples produced by
double_factorized_t2(). - nocc – the number of occupied orbitals.
Returns
The reconstructed amplitudes of shape (nocc, nocc, nvrt, nvrt).