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

STORE documentation says source can be constant value #815

Closed
notmgsk opened this issue Mar 1, 2019 · 1 comment · Fixed by #1010
Closed

STORE documentation says source can be constant value #815

notmgsk opened this issue Mar 1, 2019 · 1 comment · Fixed by #1010
Assignees
Labels
bug 🐛 An issue that needs fixing.
Milestone

Comments

@notmgsk
Copy link
Contributor

notmgsk commented Mar 1, 2019

But actually it type errors if source is not a MemoryReference.

@ecpeterson
Copy link
Contributor

Oof. The documentation is correct: what can't be constant is the array index.

appleby added a commit that referenced this issue Sep 17, 2019
- Replace GateParameter with ParameterDesignator everywhere

- Allow immediate floats as third arg in prepare_ternary_operands

- Allow immediate values as source arg for STORE and ClassicalStore

Fixes #815
appleby added a commit that referenced this issue Sep 21, 2019
- Allow immediate floats as third arg in prepare_ternary_operands

- Allow immediate values as source arg for STORE and ClassicalStore

- Allow CONVERT to take any valid memory reference designator, i.e. a
MemoryReference, a string, or a tuple of (str, int).

Fixes #815
appleby added a commit that referenced this issue Sep 21, 2019
- Allow immediate floats as third arg in prepare_ternary_operands

- Allow immediate values as source arg for STORE and ClassicalStore

- Allow CONVERT to take any valid memory reference designator, i.e. a
MemoryReference, a string, or a tuple of (str, int).

Fixes #815
appleby added a commit that referenced this issue Sep 21, 2019
- Allow immediate floats as third arg in prepare_ternary_operands

- Allow immediate values as source arg for STORE and ClassicalStore

- Allow CONVERT to take any valid memory reference designator, i.e. a
MemoryReference, a string, or a tuple of (str, int).

Fixes #815
@karalekas karalekas added this to the v2.12 milestone Sep 21, 2019
@karalekas karalekas added the bug 🐛 An issue that needs fixing. label Sep 21, 2019
appleby added a commit that referenced this issue Sep 23, 2019
- Replace GateParameter with ParameterDesignator everywhere

- Allow immediate floats as third arg in prepare_ternary_operands

- Allow immediate values as source arg for STORE and ClassicalStore

Fixes #815
appleby added a commit that referenced this issue Oct 9, 2019
- Replace GateParameter with ParameterDesignator everywhere

- Allow immediate floats as third arg in prepare_ternary_operands

- Allow immediate values as source arg for STORE and ClassicalStore

Fixes #815
appleby added a commit that referenced this issue Oct 30, 2019
- Replace GateParameter with ParameterDesignator everywhere

- Allow immediate floats as third arg in prepare_ternary_operands

- Allow immediate values as source arg for STORE and ClassicalStore

Fixes #815
appleby added a commit that referenced this issue Oct 30, 2019
- Replace GateParameter with ParameterDesignator everywhere

- Allow immediate floats as third arg in prepare_ternary_operands

- Allow immediate values as source arg for STORE and ClassicalStore

Fixes #815
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue that needs fixing.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants