Quantum Computing, Qiskit, Fourier Transform, Addition.
|F(ψ(reg_a))> to |F(ψ(reg_a+reg_b))> using the quantum Fourier transform conditioned on the qubits of reg_b. Apply repeated phase rotations with parameters being pi divided by increasing powers of two. """ for i in range(0, n+1): qc.cu1(pie/float(2**(i)), reg_b[n-i], reg_a[n]) We also need a way to