In quantum mechanics , the particle in a box model ( also known as the infinite potential well or the infinite square well ) describes a particle that can move freely between two impenetrable barriers . In quantum mechanics , the particle in a box model ( also known as the infinite potential well or the infinite square well ) describes a particle free to move in a small space surrounded by impenetrable barriers .