<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def qft(qubits: List[int]) -> Program: """ Generate a program to compute the quantum Fourier transform on a set of qubits. :param qubits: A list of qubit indexes. :return: A Quil program to compute the Fourier transform of the qubits. """


    p = Program().inst(_core_qft(qubits, 1))
    return p + bit_reversal(qubits)