Quantum Computing, Quantum Computer, Simulator, From Scratch.
need flow through without applying any transformation? In that case we apply the Identity gate. An identity gate is a square matrix whose diagonals are all 1. This is also a unitary matrix so it can be a quantum gate. Lets write a helper function to make us an identity gate. (define (I n)