Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

qiskit.assembler.disassemble

disassemble(qobj)

GitHub

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.