The energy of the partical within the well must be invariant with respect to coordinate system chosen by the observer. Therefore, its value must be derived in a fashion independent of the position of the well. The Bohr-Sommerfeld rule for the quantizaation of momentum allows for this derivation of the value of in a frame-independent fashion.1
It can be shown that for a constant potential in a region with turning points and , the ground state energy can be calculated from
with
as a generalization of the Bohr-Sommerfeld quantizatuion rule.2
The next set of energy levels is given by
which gives
Keeping in mind that
Substituting Eq. into Eq. and solving for results in
The quantization of energy is the same as that noted in the traditional approach. However, obtaining the result from the Wilson-Sommerfeld rule relies on the length of the well which is invariant.
HA Mavromatis, {\em Exercises in Quanum Mechanics. Wilson-Sommerfeld Quantization Condition}. vol.2. 1987. Chapter 1, pg.1. []
F.A. Serrano, “Qiang-Dong proper quantization rule and its applications to exactly solvable quantum systems” J. Math. Phys. 51, 082103 (2010); https://doi.org/10.1063/1.3466802. []