qrunch.chemistry.qrackle.integrals.pyscf_overlap_calculator

PySCF-backed implementation of OverlapCalculatorProtocol.

Classes

PySCFOverlapCalculator

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

class PySCFOverlapCalculator

Bases: OverlapCalculatorProtocol[TMatrix, TVector]

Compute the AO overlap 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 overlap matrix.

Parameters:

molecular_configuration (MolecularConfiguration) – The molecular configuration.

Return type:

TMatrix