Skip to content
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

Provide instruction-based semantics for parameter arithmetic #3

Open
stylewarning opened this issue Feb 15, 2019 · 1 comment
Open

Comments

@stylewarning
Copy link
Member

stylewarning commented Feb 15, 2019

This refers to interpreting gate parameters as actual sequences of Quil instructions. For example,

RX(2*a) 0

is presently not very meaningful as a linear list of instructions. It could be interpreted as something like

temp = a
temp *= 2
RX(temp) 0

but Quil doesn't say.

@stevenheidel
Copy link
Contributor

It would be neat to also allow something like:
MOVE a 2*pi*b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants