So, each rotation matrix defines 2 complex numbers, one per row, that are multiplied with with spin up and down respectively to apply a rotation to a single qbit?. But if it is an entangled state, with 4 elements in the state vector, don't you need 4x4 matrixs?
oh, each rotation in exectuted by np.dot(statevector, rotationmatrix) and for two qbuit the 4x4 rotation matrix is created by np.kron(r2,r2) witch is a tensor product
Thanx 👍🏼👍🏼
Yo, best explaination yet
Any plans on making advanced linear algebra videos? It's an intuitive subject, so suitable for this style of teaching
So, each rotation matrix defines 2 complex numbers, one per row, that are multiplied with with spin up and down respectively to apply a rotation to a single qbit?. But if it is an entangled state, with 4 elements in the state vector, don't you need 4x4 matrixs?
oh, each rotation in exectuted by np.dot(statevector, rotationmatrix) and for two qbuit the 4x4 rotation matrix is created by np.kron(r2,r2) witch is a tensor product