-
Notifications
You must be signed in to change notification settings - Fork 118
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
[do not merge] feature/autoqasm → main #613
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AutoQASM is an experimental module offering a new quantum-imperative programming experience embedded in Python for developing quantum programs. Co-authored-by: Lauren Capelluto <[email protected]> Co-authored-by: Ryan Shaffer <[email protected]> Co-authored-by: Tim (Yi-Ting) <[email protected]>
… programs (#600) * Move mcm=True argument into device.run * Add comments explaining mcm=True kwarg
* Begin improving transpiler code coverage * Code coverage for transpiler to 100% * Remove unnecessary line * Improve exception handling and test cases
* Update local simulator commit * update simulator commit hash in tox --------- Co-authored-by: Tim <[email protected]>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #613 +/- ##
===========================================
Coverage 100.00% 100.00%
===========================================
Files 122 153 +31
Lines 8144 9224 +1080
Branches 1826 1992 +166
===========================================
+ Hits 8144 9224 +1080
☔ View full report in Codecov by Sentry. 📢 Have feedback on the report? Share it here. |
* Enable multiprocessing for aq.function calls * Add rx gate
* Change: update how num_qubits get supplied by autoqasm functions * Update README * Add test for mismatched num_qubits args
* Clean up user API
* add gates for notebook examples * autoqasm example notebooks * update example in readme * update notebooks and readme * minor change in mentioning qubit number * update text * update text for merge and for comments
* Handle unnamed return values properly * Combine retval variable names * Fix handling of recursive function return values * Fix handling of return values from non-recursive functions * Move new tests to test_types.py
* Raise error if the user puts a break in their autoqasm loop * Update src/braket/experimental/autoqasm/converters/break_statements.py Co-authored-by: Ryan Shaffer <[email protected]> --------- Co-authored-by: Ryan Shaffer <[email protected]>
… point function (#661) * Add error message for using 'return' from the main autoqasm function. * Respond to CR
* change: improving autoqasm api.py coverage to 100% * Update src/braket/experimental/autoqasm/api.py --------- Co-authored-by: Ryan Shaffer <[email protected]>
* Fix returning expressions * Fix output `bit`s size error * Unmark as xfail tests that are now passing * Remove unnecessary local var in program.py Co-authored-by: Ryan Shaffer <[email protected]>
* maintenance: remove deadcode from autoqasm and bring coverage back to 100%
* Add support for returning tuples of values
…ents (#892) * documentation: Update example notebooks to use AutoQASM return statement. Update return value default name to return_value from retval_
* feature: Support AutoQASM return statements for pulse.capture_v0 instruction
…ram (#918) * Add aq.qubits to loop over global qubit register * Move global_qubit_register to qubits module * Initialize global qubit register size with num_qubits * Move global_qubit_register into program conversion context * Add GlobalQubitRegister class * Update example notebooks to use aq.qubits() syntax * Implement aq.qubits as module-level attribute
…958) * Implement control, control_state, power gate modifiers * Enable gate modifiers on custom gates * Add prx gate * Add physical qubit test case * Update type checks * Use BasisStateInput for control_state * Simplify control_state logic * Add docstrings and improve test parameterizations
Closing this PR as it is no longer needed. AutoQASM will be moving to a new repo at https://github.com/amazon-braket/autoqasm. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a draft PR for the purpose of easily merging changes from
main
tofeature/autoqasm
feature branch, and automatically running CI and code coverage on the feature branch. It is not intended to be merged.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
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.