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

Add basis rotation instructions #14

Merged
merged 4 commits into from
Apr 27, 2020
Merged

Add basis rotation instructions #14

merged 4 commits into from
Apr 27, 2020

Conversation

avawang1
Copy link
Contributor

Issue #, if available:

Description of changes:

build_files.tar.gz

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

results: Optional[
List[Union[Amplitude, Expectation, Probability, Sample, StateVector, Variance]]
]
basis_rotation_instructions: Optional[List[GateInstructions]]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we only use a subset of the gates for basis rotations, do we want to restrict this to those specific gates or do we foresee having the complete set of gate instructions as being applicable?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good point. I don't want to restrict it to a subset of gates, because the transformation might be written different ways, so just leaving it as allowing all gates for now.

@avawang1 avawang1 merged commit 7afd667 into master Apr 27, 2020
@avawang1 avawang1 deleted the feature/basis_rotation branch April 27, 2020 21:21
math411 pushed a commit that referenced this pull request Feb 27, 2022
* feature: add ECR gate

* spacing

* fix: ECR as DoubleTarget

Co-authored-by: Cody Wang <speller26@gmail.com>
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.

None yet

2 participants