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

Merge current AutoQASM code from Braket SDK repo #1

Merged
merged 1,233 commits into from
May 8, 2024
Merged

Conversation

rmshaffer
Copy link
Contributor

@rmshaffer rmshaffer commented May 7, 2024

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 the amazon-braket-sdk-python and amazon-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:

  • All tox stages succeed locally
  • codecov upload is working (currently does not provide reports because this repo is private)
  • Updated import cells in example notebooks, ensured notebooks still run
  • Set up sphinx build, generated documentation looks reasonable

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

ci and others added 30 commits November 6, 2023 16:17
* 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 <[email protected]>
* 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 <[email protected]>

* add matrices to subrountines

* Remove [Registers this function into the circuit class] line from docstrings

---------

Co-authored-by: Abe Coull <[email protected]>
Co-authored-by: Cody Wang <[email protected]>
Co-authored-by: Ryan Shaffer <[email protected]>
Co-authored-by: Abe Coull <[email protected]>
Co-authored-by: Aaron Berdy <[email protected]>
@rmshaffer rmshaffer self-assigned this May 7, 2024
Copy link

codecov bot commented May 7, 2024

The author of this PR, rmshaffer, is not an activated member of this organization on Codecov.
Please activate this user on Codecov to display this PR comment.
Coverage data is still being uploaded to Codecov.io for purposes of overall coverage calculations.
Please don't hesitate to email us at [email protected] with any questions.

@rmshaffer rmshaffer marked this pull request as ready for review May 7, 2024 19:09
@rmshaffer rmshaffer merged commit 7b8df31 into main May 8, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.