qiskit.assembler.disassemble¶
- disassemble(qobj)[source]¶
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 theQasmQobj
format that need to be maintained for backend system compatibility. This is most likely to be the case when using newer features ofQuantumCircuit
. 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]