Sorry if this is really naive, but we learned in Newtonian physics that the total energy of a system is only defined up to an additive constant, since you can always add a constant to the potential energy function without changing the equation of motion (since force is negative the gradient of the potential energy).
Then in Quantum Mechanics we showed how the ground state of a system with potential energy $V(x) = \frac{1}{2} m \omega^{2} x^{2}$ has an energy $E_{0}=\frac{1}{2} \hbar \omega $.
But if we add a constant to $V(x)$ won't that just shift the ground state energy by the same constant? So in what sense can we actually say that the ground state energy has an absolute value (as opposed to just a relative value)? Is there some way to measure it?
I ask this in part because I have heard that Dark Energy might be the ground state energy of quantum fields, but if this energy is only defined up to a constant, how can we say what it's value is?