qbraid_algorithms.iqft.generate_subroutine
- qbraid_algorithms.iqft.generate_subroutine(num_qubits, quiet=False, path=None)
Creates an IQFT subroutine module with user-defined number of qubits.
- Parameters:
num_qubits (int) – The number of qubits for the IQFT.
quiet (bool) – If True, suppresses output messages.
path (str) – The directory path where the IQFT subroutine will be created. If None, creates in the current working directory.
- Return type:
None
- Returns:
None