The quantum Fourier transform (QFT) function is the quantum analog for
discrete Fourier transform. It is applied on the quantum register state vector.The state vector x is transformed to y in the following manner:yk=N1j=0∑N−1xje2πiNjkFunction: qftArguments:
target: QArray[QBit]
The target quantum argument is the quantum state on which we apply the QFT.