pytc.solver.bug_mp2.bug_mp2_amplitudes

pytc.solver.bug_mp2.bug_mp2_amplitudes(matvec, eia, tau=0.0001, maxiter=100, conv=1e-10, r0=8, seed=0, max_rank=None, aug_k=None, aug_sel='residual', truncation='relative', energy_plateau_tolerance=None, amplitude_tol=None)[source]

Matrix-free low-rank MP2 amplitudes as a LowRankResult (energy=None; U is (o, v, r), on the device).

matvec applies the DIRECT kernel to an (o, v, k) block. No t2 is ever built; the denominator is closed exactly by the r x r Sylvester solve, so no Laplace grid is needed. tau and truncation cut the Galerkin core as in pytc.solver.bug_core.truncate_sym().

Stops by check_stop(), as every BUG solver does, with the Galerkin energy tr(Y G) as the plateau energy.