Skip to main content
Functions:

qft_no_swap

qft_no_swap(
qbv: QArray[QBit]
) -> None
[Qmod Classiq-library function] Applies the Quantum Fourier Transform (QFT) without the swap gates. Parameters:

qft

qft(
target: QArray[QBit]
) -> None
[Qmod Classiq-library function] Performs the Quantum Fourier Transform (QFT) on target in-place. Implements the following transformation: yk=1Nj=0N1xje2πijkNy_{k} = \frac{1}{\sqrt{N}} \sum_{j=0}^{N-1} x_j e^{2\pi i \frac{jk}{N}} Parameters: