The task is to implement input validation for some of the dataclasses in ffsim. This can be made optional using an init-only field called validate: bool and a __post_init__ method. Examples:
[X] UCJOpSpinBalanced, UCJOpSpinUnbalanced, UCJOpSpinless. Check that the orbital rotations are unitary and that the appropriate diagonal Coulomb matrices are symmetric.
The task is to implement input validation for some of the dataclasses in ffsim. This can be made optional using an init-only field called
validate: bool
and a__post_init__
method. Examples:hamiltonians/