pytc.solver.bug_mp2.bug_mp2_energy_host_backed¶
- pytc.solver.bug_mp2.bug_mp2_energy_host_backed(B_ov, U, S, *, block_rows, col_block=64, aux_block=64)[source]¶
sum_z S_z <U_z, (2J - K) U_z>withB_ovandUon the host.The direct part needs only
X = B^T U; the exchange is taken over column chunks ofUand aux slices ofB, astr(P P)withP = U_z B_q^T, soK Uis never formed.