-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: pyquil v4 upgrade #41
Conversation
The Context: qiskit-rigetti/qiskit_rigetti/_qcs_job.py Line 99 in fa3daa7
# qasm value
'OPENQASM 2.0;\ninclude "qelib1.inc";\nqreg q[3];\ncreg ro[2];\nmeasure q[0] -> ro[0];\nmeasure q[1] -> ro[1];' |
Clbit(ro_reg, clbit.index): loc._replace(registers=[ro_reg]) | ||
for clbit, loc in circuit._clbit_indices.items() | ||
if clbit.register.name == orig_readout_name | ||
} |
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.
Simplified this function overall, but I only had to muck about here in the first place because the prior implementation hadn't altered _clbit_indices
, which became necessary somewhere along the way.
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. Might want to update title/description to reflect that this is out of draft.
🎉 This PR is included in version 0.4.6 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Closes #40
Updates pyquil to v4 and fixes breaking changes