
Dancing with Python
By :

In this chapter, we saw many kinds of numbers and ways to represent them. I introduced symbolic computational objects like polynomials via sympy. We ended our discussion with computing and using random and pseudo-random numbers. I began using qiskit to demonstrate a simple way of generating 2-bit integers on a quantum computer. Quantum computing is probabilistic and this is an essential distinction from the classical case for how we design and implement algorithms.
Though we have used and defined Python functions many times, we return to them in depth in the next chapter. We’ll discuss the many function definition features that Python provides, along with the correct ways for you to document what your functions do.