In the code above, we built the quantum circuit shown in the following figure. The quantum circuit can rotate any input quantum state counterclockwise around the x-axis of the Bloch sphere for radians, where is the symbolic variable (i.e. parameter) declared using sympy.Symbol.