qiskit-documentation/docs/api/qiskit/0.33/qiskit.pulse.transforms.tar...

28 lines
1013 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: target_qobj_transform
description: API reference for qiskit.pulse.transforms.target_qobj_transform
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.pulse.transforms.target_qobj_transform
---
# qiskit.pulse.transforms.target\_qobj\_transform
<Function id="qiskit.pulse.transforms.target_qobj_transform" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.19/qiskit/pulse/transforms/base_transforms.py" signature="target_qobj_transform(sched, remove_directives=True)">
A basic pulse program transformation for OpenPulse API execution.
**Parameters**
* **sched** (`Union`\[`ScheduleBlock`, `Schedule`, `Tuple`\[`int`, `Instruction`], `Instruction`, `Iterable`\[`Union`\[`Tuple`\[`int`, `Instruction`], `Instruction`]]]) Input program to transform.
* **remove\_directives** (`bool`) Set True to remove compiler directives.
**Return type**
`Schedule`
**Returns**
Transformed program for execution.
</Function>