Quantum Computing, Quantum Physics, Programming, Physics, Science.
** 3) start[0] = 1 # Get the matrix corresponding to some Pauli product # This function can be optimized, but it is left as it # is for clarity purposes def get_pauli(string): init = string[0] string = string[1:] if init == 'X': out = np.array([[0, 1], [1, 0]]) elif init == 'Z': out = np.array([[1,