8000 [Stable] Backport Ensure is_mergeable_with does not mutate TimeslotCollection by Matt-Stypulkoski · Pull Request #2639 · Qiskit/qiskit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Stable] Backport Ensure is_mergeable_with does not mutate TimeslotCollection #2639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

Matt-Stypulkoski
Copy link
Contributor

Summary

Within TimeslotCollections.is_mergeable_with(), checks if each slot.channel already exists in self._table. If the channel does not exist, it skips the rest of the check and moves on to the next timeslot in the TimeslotCollection. If the channel does exist, it continues to the Interval.has_overlap() function.

Details and comments

Backport of #2626

Copy link
Member
@mtreinish mtreinish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for backporting this.

@mtreinish mtreinish merged commit 1175600 into Qiskit:stable Jun 14, 2019
@1ucian0 1ucian0 added the mod: pulse Related to the Pulse module label Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mod: pulse Related to the Pulse module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0