pytc.legacy.xtc.XTC¶
- class pytc.legacy.xtc.XTC(mf, jastrow_factor, mo_coeff=None, grid_lvl=2)[source]¶
Bases:
TCExtended Transcorrelated class that handles density matrices.
Methods
__delattr__Implement delattr(self, name).
__dir__Default dir() implementation.
__eq__Return self==value.
__format__Default object formatter.
__ge__Return self>=value.
__getattribute__Return getattr(self, name).
__getstate__Helper for pickle.
__gt__Return self>value.
__hash__Return hash(self).
__init__Initialize XTC object.
__init_subclass__This method is called when a class is subclassed.
__le__Return self<=value.
__lt__Return self<value.
__ne__Return self!=value.
__new____reduce__Helper for pickle.
__reduce_ex__Helper for pickle.
__repr__Return repr(self).
__setattr__Implement setattr(self, name, value).
__sizeof__Size of object in memory, in bytes.
__str__Return str(self).
__subclasshook__Abstract classes can override this to customize issubclass().
_calc_delta_UCalculate ΔU^{QS}_{PR} using intermediates.
_calc_delta_U_isdfCalculate ΔU^{QS}_{PR} using ISDF intermediates with batched processing.
_calc_delta_hCalculate δh using δU and density matrix.
_calc_v_vectorCompute the intermediate vector V_qt(r₁) using batched processing.
_eval_basis_on_gridEvaluate basis functions and their gradients on the grid points.
_get_intermediatesGet or compute intermediate quantities.
_get_mf_dmGet mean-field 1-body density matrix for closed shell system.
_init_gridInitialize numerical integration grid.
_validate_and_reshapeValidate inputs and reshape to (Nb, Nb, N_grid, ...) format.
Get one-body operator h1e = T + V + δh.
Compute two-body integrals.
get_3bCompute all three-body integrals involving the Jastrow factor.
Compute constant contribution: const = -2/3 * δh^q_p * γ^p_q
Get or compute delta_U with caching.
Get or compute delta_h with caching.
isdfPerform ISDF decomposition on paired densities and gradients.
Attributes
__annotations____dict____doc____module____weakref__list of weak references to the object