qrunch.chemistry.qrackle.integrals.nuclear_attraction_calculator_protocol
Protocol for nuclear attraction matrix calculators.
Classes
Protocol for objects that compute an AO nuclear attraction matrix. |
- class NuclearAttractionCalculatorProtocol
Bases:
Protocol,Generic[TMatrix_co,TVector_co]Protocol for objects that compute an AO nuclear attraction matrix.
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 atomic-orbital nuclear attraction matrix.
- 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).