The physics of quantum levitation