pytc.solver.test.test_bug_t

BUG-(T) must reproduce canonical (T) exactly when no rank is discarded.

At full rank the pair basis is complete, so the factorised route is an identity rearrangement of pyscf’s own expression – any disagreement is an algebra bug, not an approximation.

Classes

Functions

_cycle_term

_energy_reference

_factorise

t2's pair matrix is SYMMETRIC, so the factorisation is an eigen- decomposition with SIGNED eigenvalues.

_transp_term