Learn R Programming

QGameTheory (version 0.1.2)

QFT: Quantum Fourier Transform

Description

This function performs Quantum Fourier Transform for a given state |y> from the computational basis to the Fourier basis.

Usage

QFT(y)

Arguments

y

an integer

Value

A vector representing the Quantum Fourier transformation of the state |y> from the computational basis to the Fourier basis.

References

https://arxiv.org/pdf/quant-ph/0506219.pdf https://books.google.co.in/books?id=66TgFp2YqrAC&pg=PA25&redir_esc=y https://en.wikipedia.org/wiki/Quantum_Fourier_transform

Examples

Run this code
# NOT RUN {
init()
QFT(5)

# }

Run the code above in your browser using DataLab