shor(N) factors N with the period finding circuit of
sympy.physics.quantum.shor; period_find() runs that circuit,
getr() and ratioize() turn a measurement into a period through its
continued fraction. The modular exponentiation gate CMod is not
completed in SymPy either, so shor() and period_find() raise a
NotImplementedError.