Quantum measurements and the Abelian Stabilizer Problem