When adiabaticity is not enough to study topological phases in solid-state physics: comparing the Berry and Aharonov-Anandan phases in 2D materials | Synapse