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

change: Add test to check classical indices used in measurement are preserved between Circuit and OpenQASM Translations. #1013

Merged
merged 17 commits into from
Jun 26, 2024

Conversation

Altanali
Copy link
Contributor

Issue #, if available:

Description of changes:
Add a unit test to check that classical register indices supplied during qubit measurements are preserved when translating to and from Braket Circuits and OpenQASM 3.0.

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.

@Altanali Altanali requested a review from a team as a code owner June 26, 2024 23:39
Copy link

codecov bot commented Jun 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (785d251) to head (f19b73a).
Report is 35 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1013   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          135       135           
  Lines         8948      8948           
  Branches      2010      2010           
=========================================
  Hits          8948      8948           

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

@speller26 speller26 merged commit eeb7630 into amazon-braket:main Jun 26, 2024
26 checks passed
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.

3 participants