Quantum, Qiskit, Quantum Mechanics, Python, Programming.
Numpy allows us to work with arrays and makes the math a lot simpler to code. from matplotlib import animation, rc, pyplot as plt from IPython.display import HTML import numpy as np Next, let’s introduce some constants that we are going to be using in our code. '''constants''' N=500 #number of grid