Quantum Computing, Quantum Computer, Simulator, From Scratch.
out, we can do this using a special matrix operation called tensor product represented by the symbol ⊗. The details of tensor-product can be found in the Wiki, but here’s a simplified textual representation. [a b [p q r c d] tensor* x y z] ==> [ a * [p q r b * [p q r x y z] x y z] c * [p q r d * [p