qiskit-documentation/docs/api/qiskit/0.32/qiskit.assembler.assemble_s...

34 lines
1.2 KiB
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: assemble_schedules
description: API reference for qiskit.assembler.assemble_schedules
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.assembler.assemble_schedules
---
# qiskit.assembler.assemble\_schedules
<Function id="qiskit.assembler.assemble_schedules" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.18/qiskit/assembler/assemble_schedules.py" signature="assemble_schedules(schedules, qobj_id, qobj_header, run_config)">
Assembles a list of schedules into a qobj that can be run on the backend.
**Parameters**
* **schedules** (`List`\[`Union`\[`ScheduleBlock`, `Union`\[`ForwardRef`, `Instruction`], `Tuple`\[`int`, `Union`\[`ForwardRef`, `Instruction`]]]]) Schedules to assemble.
* **qobj\_id** (`int`) Identifier for the generated qobj.
* **qobj\_header** (`QobjHeader`) Header to pass to the results.
* **run\_config** (`RunConfig`) Configuration of the runtime environment.
**Return type**
`PulseQobj`
**Returns**
The Qobj to be run on the backends.
**Raises**
**QiskitError** when frequency settings are not supplied.
</Function>