amazon-braket-default-simulator-python icon indicating copy to clipboard operation
amazon-braket-default-simulator-python copied to clipboard

[do not merge] mcm-sim → main

Open rmshaffer opened this issue 2 years ago • 1 comments

This is a draft PR for the purpose of easily merging changes from main to mcm-sim feature branch, and automatically running CI and code coverage on the feature branch. It is not intended to be merged.

Issue #, if available:

Description of changes:

Testing done:

Merge Checklist

Put an x in 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

  • [ ] I have read the CONTRIBUTING doc
  • [ ] I used the commit message format described in CONTRIBUTING
  • [ ] I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

  • [ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • [ ] I have checked that my tests are not configured for a specific region or account (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

rmshaffer avatar Jul 26 '23 18:07 rmshaffer

Codecov Report

Attention: Patch coverage is 76.95853% with 50 lines in your changes missing coverage. Please review.

Project coverage is 98.72%. Comparing base (a4d7f98) to head (f05c6b5). Report is 20 commits behind head on main.

Files Patch % Lines
...t/default_simulator/openqasm/native_interpreter.py 76.31% 14 Missing and 4 partials :warning:
src/braket/default_simulator/linalg_utils.py 48.00% 13 Missing :warning:
src/braket/default_simulator/simulator.py 31.25% 10 Missing and 1 partial :warning:
...aket/default_simulator/openqasm/program_context.py 91.52% 2 Missing and 3 partials :warning:
...ket/default_simulator/openqasm/_helpers/casting.py 85.71% 3 Missing :warning:
Additional details and impacted files
@@             Coverage Diff             @@
##              main     #198      +/-   ##
===========================================
- Coverage   100.00%   98.72%   -1.28%     
===========================================
  Files           48       49       +1     
  Lines         3712     3909     +197     
  Branches       889      938      +49     
===========================================
+ Hits          3712     3859     +147     
- Misses           0       42      +42     
- Partials         0        8       +8     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Sep 13 '23 16:09 codecov[bot]