Functions:
Name Description qft_no_swap[Qmod Classiq-library function]. qft[Qmod Classiq-library function].
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:
Name Type Description Default qbvQArray[QBit]The quantum number to which the QFT is applied. required
qft
qft(
target: QArray[QBit]
) -> None
[Qmod Classiq-library function]
Performs the Quantum Fourier Transform (QFT) on target in-place.
Implements the following transformation:
y k = 1 N ∑ j = 0 N − 1 x j e 2 π i j k N y_{k} = \frac{1}{\sqrt{N}} \sum_{j=0}^{N-1} x_j e^{2\pi i \frac{jk}{N}} y k = N 1 j = 0 ∑ N − 1 x j e 2 πi N jk
Parameters:
Name Type Description Default targetQArray[QBit]The quantum object to be transformed required