Quantum, Qiskit, Quantum Mechanics, Python, Programming.
evolution of the quantum state ψ. The following code animates the evolution of ψ in Python: '''animate''' # First set up the figure, the axis, and the plot element we want to animate fig, ax = plt.subplots() plt.close() ### parameters for plot ax.set_xlim(( 0, 500)) ax.set_ylim((-0.001, 0.001))