Release 0.3.0¶
PyTC 0.3.0 adds adaptive low-rank correlation methods and expands the project name to Python Toolkit for Correlation.
Added¶
Basis-update and Galerkin (BUG) solvers in
pytc.solverfor closed-shell, density-fitted PySCF references. The doubles amplitudes are kept in the factorized form \(T = U\,\mathrm{diag}(S)\,U^{\mathsf T}\) in the occupied-virtual pair space, and the rank follows one truncation thresholdtau.pytc.solver.bug_mp2.low_rank_mp2: BUG-MP2.pytc.solver.bug_rpa.low_rank_rpa: BUG direct RPA (direct ring CCD), including fractional occupations from a smeared mean field.pytc.solver.bug_ccsd.low_rank_ccsd: BUG-CCSD, with restart through theinitandcallbackarguments.pytc.solver.bug_t.low_rank_t: perturbative triples (T) evaluated in the retained pair basis of a converged BUG-CCSD result. It returns the (T) energy correction as a float.
pytc.solver.bug_core.LowRankResult, the result type returned by the MP2, direct RPA, and CCSD solvers.Host-memory and disk-backed operation of the BUG solvers through
host_backed=True,PYTC_HOST_SCRATCH,quadratic_mode="host", anddense_core="host".Examples 07 to 10: BUG direct RPA, BUG-CCSD, BUG-MP2, and BUG-CCSD(T) on water, each compared with the corresponding PySCF result.
Changed and fixed¶
The project name is now Python Toolkit for Correlation. The distribution name
pytc-qcand the import namepytcare unchanged.pytc.tc_helper.get_eriaccepts a JAX array formo_coeff.
Upgrading¶
No existing interface changes. The BUG solvers require JAX in double
precision and raise Float64NotEnabled otherwise.
See Adaptive Low-Rank Methods for usage.