-
Notifications
You must be signed in to change notification settings - Fork 74
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
Ansatz search #670
Ansatz search #670
Conversation
stylewarning
commented
Aug 7, 2020
whoops, didn't mean to include the other stuff |
d0307e3
to
4429e14
Compare
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.
~ Perhaps ~ one should open a tracking issue to use this utility in the template searching code in approx.lisp .
I’ll address these comments. |
5f6d4a6
4429e14
to
5f6d4a6
Compare
This commit adds a new function SOLVE-FOR-ANSATZ-INPUTS useful for finding matrices in a given form. It just boils down to a Nelder-Mead which is particularly effective in many cases. This function can be used to build compilers for relatively exotic gate sets, provided you've discovered a function which can represent them.
5f6d4a6
to
1ea60f9
Compare
@kilimanjaro I can't add you to re-review with the |
Co-authored-by: Erik Davis <[email protected]>
Co-authored-by: Erik Davis <[email protected]>
ping @notmgsk |