On the amplitude amplification of quantum states corresponding to the solutions of the partition problem