qiskit-documentation/docs/api/qiskit/0.43/qiskit.pulse.transforms.rem...

29 lines
889 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: remove_trivial_barriers
description: API reference for qiskit.pulse.transforms.remove_trivial_barriers
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.pulse.transforms.remove_trivial_barriers
---
<span id="qiskit-pulse-transforms-remove-trivial-barriers" />
# qiskit.pulse.transforms.remove\_trivial\_barriers
<Function id="qiskit.pulse.transforms.remove_trivial_barriers" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.24/qiskit/pulse/transforms/canonicalization.py" signature="remove_trivial_barriers(schedule)">
Remove trivial barriers with 0 or 1 channels.
**Parameters**
**schedule** ([*Schedule*](qiskit.pulse.Schedule "qiskit.pulse.schedule.Schedule")) A schedule to remove trivial barriers.
**Returns**
A schedule without trivial barriers
**Return type**
schedule
</Function>