-
Notifications
You must be signed in to change notification settings - Fork 344
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: Unpickling an AbstractInstruction
will result in an AbstractInstruction
instead of a quil
Instruction
#1801
Conversation
…tcion`s instead of `quil` `Instruction`s
…ruction instead of a `quil` Instruction
AbstractInstruction
will result in an AbstractInstruction
instead of a quil
Instruction
Bencher
Click to view all benchmark results
Bencher - Continuous Benchmarking View Public Perf Page Docs | Repo | Chat | Help |
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, looks like it includes the changes from #1799 as well though
pyquil/quilbase.py
Outdated
@instructions.setter | ||
def instructions(self, instructions: list[AbstractInstruction]) -> None: | ||
self.instrs = instructions | ||
|
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.
Does this include work from #1799 then?
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.
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
Description
Closes #1800
Checklist
master
branch