Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update mcm-sim version #840

Closed
wants to merge 4 commits into from

Conversation

yitchen-tim
Copy link
Contributor

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

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.

@yitchen-tim yitchen-tim changed the base branch from main to feature/autoqasm December 18, 2023 22:30
@yitchen-tim yitchen-tim changed the title Yitchen/update sim version update mcm-sim version Dec 18, 2023
setup.py Outdated
@@ -32,7 +32,7 @@
# to get the version of the simulator that supports the mcm=True argument for Monte Carlo
# simulation of mid-circuit measurement, which AutoQASM requires.
# NOTE: This change should remain in the feature/autoqasm branch; do not merge to main.
"amazon-braket-default-simulator @ git+https://github.com/aws/amazon-braket-default-simulator-python.git@46aea776976ad7f958d847c06f29f3a7976f5cf5#egg=amazon-braket-default-simulator", # noqa E501
"amazon-braket-default-simulator @ git+https://github.com/aws/amazon-braket-default-simulator-python.git@61ce2136e42bdac71fc3df204d4f09a83bb3aed4#egg=amazon-braket-default-simulator", # noqa E501
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why don't we just point to the branch?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recall the reason is that mcm-sim and AutoQASM are both developing and sometime UX breaks with updates. So we pin to commit hash instead of the branch itself.

Copy link

codecov bot commented Dec 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (af8ddf8) 100.00% compared to head (8196995) 100.00%.
Report is 6 commits behind head on feature/autoqasm.

❗ Current head 8196995 differs from pull request most recent head 18ad885. Consider uploading reports for the commit 18ad885 to get more accurate results

Additional details and impacted files
@@                 Coverage Diff                 @@
##           feature/autoqasm      #840    +/-   ##
===================================================
  Coverage            100.00%   100.00%            
===================================================
  Files                   166       166            
  Lines                  9959     10081   +122     
  Branches               2113      2148    +35     
===================================================
+ Hits                   9959     10081   +122     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yitchen-tim yitchen-tim deleted the yitchen/update-sim-version branch December 21, 2023 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants