Null controllability for the heat equation with singular inverse-square potentials