iqm.pulla.utils_qir.qir_to_pulla#
- iqm.pulla.utils_qir.qir_to_pulla(compiler, qir, qubit_mapping=None)#
Convert a QIR module to a CPC circuit.
- Parameters:
- Returns:
The QIR program name, tuple[list[Circuit], Compiler]:
Circuits extracted from the QIR module and the compiler with updated component_mapping
- Return type:
- Raises:
ValueError – If the QIR program has more than one basic block.