Source: https://sites.unice.fr/site/kastberg/My_Sites/MQL3/TD_files/quantique_L3_S2.pdf