pytc.solver.bug_ccsd.ccsd_residual_action¶
- pytc.solver.bug_ccsd.ccsd_residual_action(Ur, S, nU, eia_pair)[source]¶
R2(T) U = N2 U - D U S - U S (U^T D U)and its norms (device arrays).With
T = U diag(S) U^Tthe fixed-point equation isD T + T D = N2(t1, T). Only the external part adds basis directions, but the parallel part is needed for an honest convergence test.