seemps.qft.qft_wavefunction#
- seemps.qft.qft_wavefunction(Ψ: Vector) Vector[source]#
Implement the QFT on a state vector.
This routine uses
numpy.fft.fft()and is provided here as a convenience, so that the user can compare the action of the QFT on an MPS and on a vector.- Parameters:
- Ψ
Vector A wavefunction in
numpy.ndarrayformat.
- Ψ
- Returns:
VectorTransformed state.