code: def inverse_qft(qubits: List[int]) -> Program:
      
      
      qft_result = Program().inst(_core_qft(qubits, -1))
      qft_result += bit_reversal(qubits)
      inverse_qft = Program()
      while len(qft_result) > 0:
          new_inst = qft_result.pop()
          inverse_qft.inst(new_inst)
      return inverse_qft
docs: Generate a program to compute the inverse quantum Fourier transform on a set of qubits.
  
      :param qubits: A list of qubit indexes.
      :return: A Quil program to compute the inverse Fourier transform of the qubits.