qiskit.pulse.transforms.remove_trivial_barriers
remove_trivial_barriers(schedule)
Remove trivial barriers with 0 or 1 channels.
Parameters
schedule (Schedule
) – A schedule to remove trivial barriers.
Returns
A schedule without trivial barriers
Return type
schedule
Was this page helpful?
Report a bug or request content on GitHub.