amazon-braket / amazon-braket-sdk-python

A Python SDK for interacting with quantum devices on Amazon Braket
https://aws.amazon.com/braket/
Apache License 2.0
294 stars 118 forks source link

fix: remove unused discretization fields #953

Closed math411 closed 2 months ago

math411 commented 3 months ago

Issue #, if available:

Description of changes:

Testing done:

pip install git+https://github.com/amazon-braket/amazon-braket-sdk-python.git@fix_disc
pip freeze | grep amazon-braket                                                                                                                             
amazon-braket-default-simulator==1.21.6
amazon-braket-schemas==1.21.4
amazon-braket-sdk @ git+https://github.com/amazon-braket/amazon-braket-sdk-python.git@a196dcf0ead48aee5e6f03d987f4ab10c48733b0

Saved the example for MWIS as quera_program.py and ran:

python -m quera_program
>>> python -m quera_program                                                                                                                                                
ARN: arn:aws:braket:us-east-1:<ACCOUNT_ID>:quantum-task/<TASK_UUID>

and verified task creation.

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

Tests

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

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (9388a25) to head (a3960f3).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #953 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 134 134 Lines 8924 8922 -2 Branches 2010 2010 ========================================= - Hits 8924 8922 -2 ```

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