-
Notifications
You must be signed in to change notification settings - Fork 9
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
Merge current AutoQASM code from Braket SDK repo #1
Merged
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
* feature: Add support for binding FreeParameters in AutoQASM programs. * Move IO declaration logic into Program * Allow "strict" option for parameter binding
* feature: Add get_compiled_circuit convenience method to GateModelQuantumTaskResult
…ments (#789) * feature: FreeParameters in conditional statements * Update type check to include FreeParameter as a qasm type * Add support for free parameters in logical operations * Add support for comparison statements --------- Co-authored-by: Ryan Shaffer <3620100+rmshaffer@users.noreply.github.com>
* enable freeparameter for pulse instruction * add pulse test with freeparameter in condition
* enable freeparameter for pulse instruction * AwsDevice.run supports AutoQASM program * add test to increase coverage * remove duplicated code
* Add matrix expressions to docstrings * linter * fix r-strings * Capitalize H gate * Rename theta->phi * Address comments * Update src/braket/circuits/gates.py Co-authored-by: Ryan Shaffer <3620100+rmshaffer@users.noreply.github.com> * add matrices to subrountines * Remove [Registers this function into the circuit class] line from docstrings --------- Co-authored-by: Abe Coull <85974725+math411@users.noreply.github.com> Co-authored-by: Cody Wang <speller26@gmail.com> Co-authored-by: Ryan Shaffer <3620100+rmshaffer@users.noreply.github.com> Co-authored-by: Abe Coull <accoull@amazon.com> Co-authored-by: Aaron Berdy <berdy@amazon.com>
Co-authored-by: Abe Coull <85974725+math411@users.noreply.github.com>
* feature: context manager for reservation arns Co-authored-by: Cody Wang <speller26@gmail.com>
…#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
The author of this PR, rmshaffer, is not an activated member of this organization on Codecov. |
laurencap
reviewed
May 8, 2024
laurencap
reviewed
May 8, 2024
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.
Issue #, if available:
Move AutoQASM to new experimental repo
Description of changes:
Merging the current version of the
feature/autoqasm
branch as of commit amazon-braket/amazon-braket-sdk-python@d62e288.To review the actual code changes in this PR (vs. what is in the
feature/autoqasm
branch), see here:autoqasm-repo-1...autoqasm-repo-2
This package currently depends on the
mcm-sim
branch of both theamazon-braket-sdk-python
andamazon-braket-default-simulator
repos, in order to enable the version of the local simulator which supports mid-circuit measurement.Note that the full commit history is preserved - this PR will be merged as a merge commit (not as a squash commit).
Tested the following things:
tox
stages succeed locallyBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.