-
Notifications
You must be signed in to change notification settings - Fork 73
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
STORE instruction should accept constant value for source argument #425
Comments
14 tasks
appleby
added a commit
that referenced
this issue
Sep 19, 2019
According to the Quil spec, STORE's second argument must be a reference to an int, and it's third argument can be either a memory reference or an immediate value. Fixes #425
appleby
added a commit
that referenced
this issue
Sep 19, 2019
According to the Quil spec, STORE's second argument must be a reference to an int, and its third argument can be either a memory reference or an immediate value. Fixes #425
appleby
added a commit
that referenced
this issue
Sep 19, 2019
According to the Quil spec, STORE's second argument must be a reference to an int, and its third argument can be either a memory reference or an immediate value. Fixes #425
stylewarning
pushed a commit
that referenced
this issue
Sep 19, 2019
According to the Quil spec, STORE's second argument must be a reference to an int, and its third argument can be either a memory reference or an immediate value. Fixes #425
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Quil spec says the source argument to a STORE instruction can be an immediate int or real in addition to a memory reference, but quilc rejects it. For example:
There is a similar pyquil issue open here: rigetti/pyquil#815
And related PR discussion here and there.
And a tangentially-related issue regarding
DEFCIRCUIT
: #25The text was updated successfully, but these errors were encountered: