qbraid_algorithms.qft.generate_subroutine

qbraid_algorithms.qft.generate_subroutine(num_qubits, quiet=False, path=None)

Creates a QFT subroutine module with user-defined number of qubits.

Parameters:
  • num_qubits (int) – The number of qubits for the QFT.

  • quiet (bool) – If True, suppresses output messages.

  • path (str) – The directory path where the QFT subroutine will be created. If None, creates in the current working directory.

Return type:

None

Returns:

None