This paper is a presentation of how to implement quantum algorithms (namely, Shor’s algorithm ) on a classical computer by using the well‐known Mathematica package. It will give us a lucid connection between mathematical formulation of quantum mechanics and computational methods.