ApolloResearch / rib

Library for methods related to the Local Interaction Basis (LIB)
MIT License
2 stars 0 forks source link

Convert InteractionRotation and Eigenvectors to pydantic models #270

Closed danbraunai-apollo closed 9 months ago

danbraunai-apollo commented 9 months ago

Convert InteractionRotation and Eigenvectors to pydantic models

Description

Convert InteractionRotation and Eigenvectors from dataclasses to pydantic models. Defines serializers in the model to convert to cpu, rather than doing so manually in scripts.

Does this PR introduce a breaking change?

No