This PR addresses Issues#216: Missing U(1) gauge invariance in :dipole mode. We have corrected the spin-wave Hamiltonian matrix related to the dipole mode. Furthermore, we have introduced a new test to ensure the U(1) gauge invariance of the dipole spin-wave theory.
This PR addresses Issues#216: Missing U(1) gauge invariance in :dipole mode. We have corrected the spin-wave Hamiltonian matrix related to the dipole mode. Furthermore, we have introduced a new test to ensure the U(1) gauge invariance of the dipole spin-wave theory.