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

fix: update test to use DummyOp #236

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

lillian542
Copy link
Contributor

Description of changes:
A test for how the AHS device handles operators with undefined diagonalizing gates is failing because it uses CNOT, which now does have a definition for diagonalizing gates in PennyLane 0.35.

We update the test to use a DummyOp created in the test, that should continue to have undefined diagonalizing gates.

@lillian542 lillian542 requested a review from a team as a code owner February 29, 2024 14:24
Copy link

codecov bot commented Feb 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (918d062) to head (6bb6880).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #236   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines         1185      1185           
  Branches       286       286           
=========================================
  Hits          1185      1185           

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

@AbeCoull
Copy link
Contributor

Hi, @lillian542, this looks good to me. Only minor thing is can you prefix the commit title with fix:.

@lillian542
Copy link
Contributor Author

@math411, sorry, forgot about that! It's updated now :)

@AbeCoull AbeCoull changed the title Update test to use DummyOp fix: update test to use DummyOp Mar 1, 2024
@AbeCoull AbeCoull merged commit fe5370c into amazon-braket:main Mar 1, 2024
15 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.

2 participants