The quantum circuit to which the QFT will be applied.
The index of the first qubit in the register to apply QFT to. Defaults to 0.
OptionalnumQubits: numberThe number of qubits to include in the QFT. Defaults to all qubits from startQubit.
If true, applies the inverse QFT. Defaults to false.
Applies the Quantum Fourier Transform (QFT) or its inverse to a set of qubits within a circuit.
The QFT is a linear transformation on quantum bits, and is the quantum analogue of the discrete Fourier transform.