-
Notifications
You must be signed in to change notification settings - Fork 54
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
Support symbolic parameters in QROM bloq #945
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.
Very nice. I had a question about the shape in symbolic qrom.
I'm not sure, but +1 that it'll be a useful feature - Maybe @mpharrigan knows more. |
what do you mean convert it to math? |
Render a latex expression |
The graphviz dot/svg exporter can't render latex math. There exists https://ctan.org/pkg/dot2tex?lang=en which would -- in theory -- render latex math from a graphviz format The matplotlib circuit drawer can render latex math, because matplotlib can render latex math. You have to enclose it in To get latex math from a sympy expression, you use the |
Part of a larger effort to refresh all unary iteration based bloqs and add symbolic support. Will also form the base of refactoring SelectSwapQROM and fix cost discrepancies with QROAM.
As a follow up PR, i'll update the
unary_iteration
bloq to support symbolics in general and also its other derived bloqs.Based on top off #942