Quantum Computing, Quantum Computer, Simulator, From Scratch.
vector, but not quite the same. Seems the position of the non-zero elements are different. What’s going on? Turns out, the order of the matrices matter! In our current order, i.e. the H above and (I 2) below, it makes it a big endian system, where the least significant bit is on the left. However,