Repository navigation
Conversation
`ProgramSet.split` takes in a `max_excutables` parameter, so that the generated program sets will contain at most that many executables. Also fixed coverage output when running `tox`.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1249 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 170 170
Lines 11011 11214 +203
Branches 1413 1450 +37
==========================================
+ Hits 11011 11214 +203 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
sesmart
left a comment
There was a problem hiding this comment.
Very cool 😄, just some notes on usability. Any reason the input_set is taken as the major counting index before observables? Just coincidence of orderings?
Will move to separate PR
|
Results merging has been moved to #1254 |
|
Do not review program_set_quantum_task_result.py and test_program_set_quantum_task_result.py; those were approved in #1254 (I promise not to touch them). |
sesmart
left a comment
There was a problem hiding this comment.
Just a small tweak in the description. Otherwise looks good!
| Each block is a contiguous run of executables that share the same | ||
| ``(circuit, observable list/Sum Hamiltonian, single parameter assignment)`` and can thus be |
There was a problem hiding this comment.
| Each block is a contiguous run of executables that share the same | |
| ``(circuit, observable list/Sum Hamiltonian, single parameter assignment)`` and can thus be | |
| Each block is a contiguous run of executables generated from the same | |
| ``(circuit, observable list/Sum Hamiltonian, single parameter assignment)`` and can thus be |
Introduce
splitmethod toProgramSetto split program set into a list of program sets each with at most an allowed number of executables.Also fixed coverage output when running
tox.Issue #, if available:
Description of changes:
Testing done:
Merge Checklist
Put an
xin the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.General
Tests
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.