pyqasm.dumps
- dumps(module)[source]
Dumps the QasmModule object to a string.
- Parameters:
module (QasmModule) – The module to dump.
- Raises:
TypeError – If the input is not a QasmModule instance
- Returns:
The dumped module as string.
- Return type:
str