qe-compiler
qe-compiler copied to clipboard
[feature request] alternative to --config CLI flag
Running qss-compiler https://github.com/Qiskit/qss-compiler/commit/128c937335ce23d35c4e98c3b7618d7420bd11ee
The compiler CLI flag --config expects a file on drive, such as:
num_qubits 1
acquire_multiplexing_ratio_to_1 5
controllerNodeId 1000
In our use case, it would be preferable to either pass the whole as a string, or enable passing the individual lines as options.
This is a minor issue: the current workaround is to write the file to drive on the fly where it's needed.
Edit: to avoid a XY-problem description... what we're actually after is not having to write the file to disk in the Python library interface.