Quantum Computing, Quantum Computer, Simulator, From Scratch.
need 2^n rows in the column vector. Thus, a qubit |q1> (n = 1), is represented by: [a, b] Where |a|^2 + |b|^2 = 1 The values a and b are known as probability amplitudes and the sum of squares of those amplitudes should be 1 (Born’s rule). For more than one qubit system the rule is the same. Here’s