We study invariants of
3
3
-manifolds derived from finite abelian groups equipped with quadratic forms. These invariants arise in Turaev’s theory of modular categories and generalize those of H. Murakami, T. Ohtsuki and M. Okada. The crucial algebraic tool is a new reciprocity formula for Gauss sums, generalizing classical formulas of Cauchy, Kronecker, Krazer and Siegel. We use this reciprocity formula to give an explicit formula for the invariants and to generalize them to higher dimensions.