使用平台为Jupyter Notebook,Python版本3.6,QISKit版本0.6.0。本文的github链接为: https://github.com/yangjy0826/IBM-QISKit/blob/master/qiskit_QFT.ipynb。
Quantum Fourier Transform
This is a tutorial for quantum Fourier transform (QFT), realized by the IBM …
1 量子Fourier变换
离散Fourier变换以一一个复向量 x 0 , . . . , x N − 1 {x_0},...,{x_{N - 1}} x0,...,xN−1为输入,输出的数据是如下复向量 y 0 , . . . , y N − 1 {y_0},...,{y_{N - 1}} y0,...,yN−1: y k ≡ 1 N ∑ j 0 N − 1 x j …