qiskit.assembler.disassemble
disassemble(qobj)
Disassemble a qobj and return the circuits or pulse schedules, run_config, and user header.
Note
disassemble(assemble(qc))
is not guaranteed to produce an exactly equal circuit to the input, due to limitations in the QasmQobj
format that need to be maintained for backend system compatibility. This is most likely to be the case when using newer features of QuantumCircuit
. In most cases, the output should be equivalent, if not quite equal.
Parameters
qobj (Qobj) – The input qobj object to disassemble
Returns
The disassembled program which consists of:
- programs: A list of quantum circuits or pulse schedules
- run_config: The dict of the run config
- user_qobj_header: The dict of any user headers in the qobj
Return type
Union[CircuitModule, PulseModule]
Was this page helpful?
Report a bug or request content on GitHub.