qrunch.chemistry.qrackle.integrals.pyscf_kinetic_calculator

PySCF-backed implementation of KineticCalculatorProtocol.

Classes

PySCFKineticCalculator

Compute the AO kinetic-energy matrix via PySCF's one-electron integrals.

class PySCFKineticCalculator

Bases: KineticCalculatorProtocol[TMatrix, TVector]

Compute the AO kinetic-energy matrix via PySCF’s one-electron integrals.

The result is wrapped in a matrix allocated by the configured MatrixModuleProtocol, so callers downstream can treat the result uniformly with matrices produced by any other backend.

__init__(matrix_module: MatrixModuleProtocol[TMatrix, TVector]) → None

Initialise the calculator.

Parameters:

matrix_module (MatrixModuleProtocol[TMatrix, TVector]) – Matrix module used to allocate the result matrix.

Return type:

None

compute(molecular_configuration: MolecularConfiguration) → TMatrix

Compute the AO kinetic-energy matrix.

Parameters:

molecular_configuration (MolecularConfiguration) – The molecular configuration.

Return type:

TMatrix