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.
Add iterator support for AbstractJob (quantumlib#5136)
- Add support for next() in AbstractJob - Changes __iter__ to return a generator, which will have support for iteration in for loops, as well as next(). - Also improve the iteration tests to be more thorough and accurate. Fixes: quantumlib#5120
- Loading branch information
1 parent
0d0cd15
commit 3d861e0
Showing
2 changed files
with
31 additions
and
5 deletions.
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