Skip to content

feature: add barrier instruction support#108

Open
rmshaffer wants to merge 5 commits into
mainfrom
rmshaffer/barrier
Open

feature: add barrier instruction support#108
rmshaffer wants to merge 5 commits into
mainfrom
rmshaffer/barrier

Conversation

@rmshaffer
Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

Adds a barrier() instruction so that AutoQASM programs can emit OpenQASM barrier compiler directives, matching the Braket SDK's Circuit.barrier() instruction.

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.

@rmshaffer rmshaffer requested a review from a team as a code owner May 8, 2026 20:50
@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (a962209) to head (217207b).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #108   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           52        52           
  Lines         2279      2289   +10     
  Branches       266       265    -1     
=========================================
+ Hits          2279      2289   +10     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rmshaffer rmshaffer requested a review from aniksd-braket May 11, 2026 22:58
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.

1 participant