Quantum Computing, Quantum Computer, Simulator, From Scratch.
q r x y z] x y z] ] ==> [ ap aq ar bp bq br ax ay az bx by bz cp cq cr dp dq dr cx cy cz dx dy dz ] And here’s the implementation. Granted it is not the best one and not a Lisp-y one too, but it does the work for now. (define (tensor* m1 m2) (define (mat->list m1 m2) (matrix->list* (matrix-map (λ