Frame potential and finite abelian groups