-
Notifications
You must be signed in to change notification settings - Fork 347
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
Fix: #1417 DefFrame to/from Quil with JSON values #1419
Fix: #1417 DefFrame to/from Quil with JSON values #1419
Conversation
@notmgsk This is ready for a look when you're up. |
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.
LGTM, though you might still want @notmgsk 's approval since he knows Quil much better than me.
assert ( | ||
fdef.out() | ||
== r"""DEFFRAME My-Cool-Qubit "bananas": | ||
DIRECTION: "go west" |
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.
nice
@@ -60,7 +60,7 @@ def_circuit : "DEFCIRCUIT" name [ variables ] [ qubit_designators ] ":" indented | |||
// | "DEFCIRCUIT" name [ variables ] qubit_designators ":" indented_instrs -> def_circuit_qubits | |||
|
|||
def_frame : "DEFFRAME" frame ( ":" frame_spec+ )? | |||
frame_spec : _NEWLINE_TAB frame_attr ":" (expression | string ) | |||
frame_spec : _NEWLINE_TAB frame_attr ":" ( expression | string ) |
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.
Ah, so it already was string
. I must've been looking at the wrong/old branch.
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.
Yeah, we were looking at master, but this was already done on rc. When I got here and saw it I assumed you'd done it. :)
Hella tight. |
🎉 This PR is included in version 3.1.0-rc.5 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
* Fix: #1417 DefFrame to/from Quil with JSON values * No code: Update changelog
🎉 This PR is included in version 3.2.0-rc.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 3.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Description
Closes #1417, #1418
Checklist
rc
branch (notmaster
).pattern
field).flake8
conventions.