Encodes a classical value using Quantum Fourier Transform. This function prepares a quantum state corresponding to the given value and then applies QFT to it.
The classical value to encode (should be < 2^numQubits)
The number of qubits to use for encoding
A Circuit with the value encoded using QFT
If value is out of range for the given number of qubits
Encodes a classical value using Quantum Fourier Transform. This function prepares a quantum state corresponding to the given value and then applies QFT to it.