-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Improve type safety with generics on simulators #3818
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've had some complaints about unclear simulator result types in the past - this should go a long way towards resolving those! Just a couple comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One final item to check: how does this interact with external simulators? e.g. will qsim.QSimSimulator
break when this change is released, or can it remain a typeless SimulatesFinalState
without issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for going the extra mile to verify - this is good to go!
I think there are some open issues complaining about some of these things? Can you find them and see if this addresses them? |
@mpharrigan There was only #554 about the general problem from a while ago. Added a link there but there's still more work to be done before closing that particular issue. There are some other open type issues around gates and operations, parameters, and such but I didn't see any open issues referring specifically to simulators. |
Does this PR address #2413? |
Oh, I didn't see that one. Yes, that should be fixed now.
…On Fri, Feb 19, 2021, 1:17 PM Matthew Harrigan ***@***.***> wrote:
Does this PR address #2413
<#2413>?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3818 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG464IZ22HW3S6AAU53KSDS73INTANCNFSM4XYUOBRA>
.
|
No description provided.