Quantum Computing, Quantum Computer, Simulator, From Scratch.
function that creates a bigger gate by applying tensor products to multiple gates. (define (G* . ms) (apply-op (apply t* ms))) That was simple. One more thing, we assume that G* will get a list of gate matrices like H or X — but what if we just have one gate for one qubit, and the other qubits just