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 result types to gate model result and make shots=0 default for simulators #70

Merged
merged 5 commits into from
May 1, 2020

Conversation

avawang1
Copy link
Contributor

@avawang1 avawang1 commented Apr 24, 2020

*Issue #, if available: N/A

*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.

@avawang1 avawang1 requested a review from speller26 April 24, 2020 05:11
@avawang1 avawang1 merged commit d30e0a8 into master May 1, 2020
@avawang1 avawang1 deleted the feature/results branch May 1, 2020 23:44
shiyunon pushed a commit to shiyunon/amazon-braket-sdk-python that referenced this pull request Mar 9, 2021
* fix: lower latency for pydantic parsing

Using a simple Union[] results in an O(n) lookup for arbitrary payloads because pydantic "will attempt to 'match' any of the types defined under Union and will use the first one that matches" - https://pydantic-docs.helpmanual.io/usage/types/#unions

This commit converts that into an O(1) lookup by using the pre-validation subsystem to create the model object.
kshitijc pushed a commit that referenced this pull request Nov 29, 2021
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.

2 participants