forked from quantumlib/Cirq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BugFix in
cirq.merge_moments
to correctly handle new empty moments. (…
…quantumlib#5013) Fixes a bug where `cirq.merge_moments` would treat a newly merged empty `cirq.Moment()` as the case where we return `None` to indicate that two moments cannot be merged.
- Loading branch information
1 parent
e6c41e3
commit ddec75b
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters