Quantum Computing, Quantum, Quantum Physics, Shors Algorithm, Qiskit.
9007199254740992) Because this gives fractions that return the result exactly (in this case, 0.6660000...), this can give gnarly results like the one above. We can use the .limit_denominator() method to get the fraction that most closely resembles our float, with denominator below a certain value: