qrunch.chemistry.qrackle.integrals.three_center_eri_calculator_protocol
Protocol for three-center electron repulsion integral (ERI) calculators.
A three-center ERI calculator is a small object that owns whatever it needs to evaluate
the atomic-orbital three-center two-electron repulsion integrals
for a particular molecular system, and exposes a single compute() method
that returns the result as a matrix on a user-chosen
MatrixModuleProtocol backend.
Concrete implementations accept their matrix module on construction so that the returned matrix is always of the backend’s concrete matrix type.
Classes
Protocol for objects that compute 3-center electron repulsion integrals. |
- class ThreeCenterERICalculatorProtocol
Bases:
Protocol,Generic[TMatrix_co,TVector_co]Protocol for objects that compute 3-center electron repulsion integrals.
The protocol is generic over the concrete matrix and vector types of the backing
MatrixModuleProtocolso thatcomputereturns the backend’s own matrix type rather than the generalMatrixProtocol.- __init__(*args, **kwargs)
- compute(molecular_configuration: MolecularConfiguration) TMatrix_co
Compute the 3-center electron repulsion integrals.
- Parameters:
molecular_configuration (MolecularConfiguration) – The molecular configuration.
- Return type:
TMatrix_co
The shape of the returned matrix is
(number_of_atomic_orbitals * number_of_atomic_orbitals, number_of_auxiliary_orbitals).