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.solver for 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 threshold tau.

    • 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 the init and callback arguments.

    • 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", and dense_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-qc and the import name pytc are unchanged.

  • pytc.tc_helper.get_eri accepts a JAX array for mo_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.