A configuration system with type validation, such as [pydantic](https://docs.pydantic.dev/latest/), will make the code safer and more robust. _Originally posted by @forklady42 in https://github.com/Quantum-Accelerators/electrai/pull/26#discussion_r2611552691_