Blau and Halfpap posed the question in the American Journal of Physics of how to interpret refraction (Snell's law; index of refraction) and the (apparent) slower speed of light in glass in terms of quantum mechanics. The following response by Bruce Sherwood was published in the American Journal of Physics 64, 840-842 (1996). Answer to Question #21. ["Snell's law in quantum mechanics," Steve Blau and Brad Halfpap, Am. J. Phys. 63(7), 583 (1995)]
The question of how to interpret Snell's law and the index of refraction from the point of view of photons and quantum mechanics can usefully be recast as a question of how to interpret these concepts from a microscopic point of view, whether quantum-mechanical or (semi-)classical.
...
The original question asked about Snell's law from the point of view of photons. The main issue isn't really photons, but microscopic versus macroscopic analyses. The passage to quantum mechanics introduces still more mathematical complexity but doesn't change the main point. The reflected and refracted light consists of the (quantum) interference of incoming photons with photons re-emitted by atoms in the glass. The fundamental speed of light is unaffected.