pytc.legacy.tc.TC¶
- class pytc.legacy.tc.TC(mf, jastrow_factor, mo_coeff=None, grid_lvl=2)[source]¶
Bases:
objectTranscorrelated method implementation.
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 the TC 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().
_eval_basis_on_gridEvaluate basis functions and their gradients on the grid points.
_get_intermediatesGet or compute intermediate quantities.
_init_gridInitialize numerical integration grid.
Calculate two-body terms K1 + K2 + K3.
Compute all three-body integrals involving the Jastrow factor.
Perform ISDF decomposition on paired densities and gradients.
Attributes
__annotations____dict____doc____module____weakref__list of weak references to the object
- isdf(n_rank=None)[source]¶
Perform ISDF decomposition on paired densities and gradients.
- Parameters:
n_rank – Number of interpolation points to use. If None, use 1/4 of grid points.
- Returns:
- Dictionary containing:
’C_rho’: Selected columns for rho_paired ‘xi_rho’: Interpolation coefficients for rho_paired ‘C_grad’: Selected columns for grad_normed ‘xi_grad’: Interpolation coefficients for grad_normed ‘pivots’: Fused pivot indices
- Return type:
dict