graphcore-research / pyscf-ipu

PySCF on IPU
https://github.com/graphcore-research/pyscf-ipu#readme
Apache License 2.0
42 stars 2 forks source link

Incorporate type annotations including the array shape in nanoDFT IterationState class #89

Open hatemhelal opened 1 year ago

hatemhelal commented 1 year ago

In PR #71 we added additional type annotations to the IterationState class. Most of the fields of this data class are now annotated with a combined data type and tensor shape annotation. For example:

FloatNxN = Float[Array, "N N"]

This issue is to rationalise the remaining fields that are currently without a documented shape:

grid_weights
input_floats
input_ints
diis_history