Support Asynchronous Execution with Compatibility Layer#1331
Merged
Conversation
Authored-by: Andrew Meyer <ameyer@rigetti.com>
0a432c7 to
d1d36f2
Compare
d1d36f2 to
b56996f
Compare
ameyer-rigetti
approved these changes
Jun 23, 2021
kalzoo
added a commit
that referenced
this pull request
Jun 23, 2021
) * Breaking: Support QVM asynchronous execution with compatibility layer * Breaking: store parameter values on Program, not QAM * Breaking: QPU supports new QAM API * Update: refactor program memory management * No code: update tests to use new API * No code: update docs * No code: address Program thread safety in docs * Breaking: return execution results data as readout_data, not memory * Breaking: remove QAM.experiment attribute * Fix: make QPUCompiler.calibration_program thread-safe * No code: remove entry from mypy config * Fix: replace threading.Lock with multiprocessing.Lock * Fix: Program#copy * No code: fix autodoc toctree * No code: use Rigetti fork of dephell Co-authored-by: Eric Hulburd <3526083+erichulburd@users.noreply.github.com> Co-authored-by: Andrew Meyer <ameyer@rigetti.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR removes execution-specific state from
QAMand its subclasses, while adding a compatibility layer for use according to the v2 API.Note that
QVMtests are passing, unchanged, when run through that compatibility layer.TODO:
QPUobjectChecklist
rcbranch (notmaster).patternfield).flake8conventions.