Source: https://pcjoffre.fr/Data/devoirs/20202021/DM11_quantique.pdf