ANALYSIS OF THE INTERPLAY OF QUANTUM PHASES AND NONLINEARITY APPLIED TO DIMERS WITH ANHARMONIC INTERACTIONS