Repository navigation
fix: add a circuit validation test and github action - #361
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #361 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 49 49
Lines 4771 4771
Branches 539 539
=========================================
Hits 4771 4771 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
aniksd-braket
left a comment
There was a problem hiding this comment.
This is a great extension to our testing capability. My one concern would be the time it would now take to run our CI tests, do you have any insights/metrics into that?
| return c | ||
|
|
||
|
|
||
| def _measured_probabilities(ops, n_qubits): |
There was a problem hiding this comment.
Why can't we use result.measurement_probabilities in this function, and then filter out based on n_qubits
They're actually run in this PR itself. Looks like the new integ-tests took only about 1 minute. |
Issue #, if available:
Description of changes:
adds in a circuit validation suite to github actions and tox
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.