Skip to content

Conversation

@Altanali
Copy link
Owner

@Altanali Altanali commented Aug 9, 2024

Issue #, if available:

Description of changes:
Add the RigettiRxValidator Pass which checks that all angles used in verbatim Rx gates are allowed; allowed angles are $\pi, -\pi, -\frac{\pi}{2}, \frac{\pi}{2}$.

Testing done:
Unit Tests added for the pass; test added to check pass is correctly added to Rigetti device emulators in AwsDevice.py.

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.

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