In the explanation of ‘The RSA system’ in Shor Algorithm section S.5, there is a typo in the value of d. It should be 27 and not 37. Hope you fix it @TeamXanadu

Explanation: The values of N and e are selected to be 55 and 3. Thus, p = 5 and q = 11

This gives theta = (5-1)*(11-1) = 40

Now, d being the inverse of e = 3, with respect to mod 40, it should be equal to 27, as 27*3 = 1 mod(40)