qiskit-documentation/docs/api/qiskit/0.31/qiskit.assembler.disassembl...

33 lines
1010 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: disassemble (v0.31)
description: API reference for qiskit.assembler.disassemble in qiskit v0.31
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.assembler.disassemble
---
<span id="qiskit-assembler-disassemble" />
# qiskit.assembler.disassemble
<Function id="qiskit.assembler.disassemble" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.18/qiskit/assembler/disassemble.py" signature="disassemble(qobj)">
Disassemble a qobj and return the circuits or pulse schedules, run\_config, and user header.
**Parameters**
**qobj** ([*Qobj*](qiskit.qobj.Qobj "qiskit.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]
</Function>