generated from XanaduAI/pennylane-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable multi circuit submission in PennyLane IonQ, second attempt. (#121
) * Adding code for batch circuit submit. * Remove unused imports. * Update version number. * Initialize self._samples in overloaded methods. * Various fixes. * Running existing unit tests from previous implementation and fixing bugs. * Correct unit test after updating pennylane baseline code to latest version. * Fix codefactor issues. * Run black code formatter. * Shots cannot be none in an IonQDevice. Remove check on shots. * Correct docstring comment. * Remove exeception handling code. * Remove self.histogram, replace with self.histograms. * Uniformize treatment of one vs multiple circuits. * Improve current_circuit_index handling with raising exceptions, add tests. * Reset samples in reset function. * Run black code formatter. * Remove unused includes. * Fix codefactor reported issues. * Adding doc string to method. * Fix docstring. * Add test with shot vector. * Add test with an observable that requires rotations for diagonalization. * Adding unit tests for using pennylane tracker in batch_execute method. Adding unit tests for user warnings. * Add tests for logging in batch_execute. * Run black. * Remove method override. * Implement review comments.' * Implement more review comments.' * Remove unused imports. * Remove unused imports. * Remove checks for BasisState, QubitStateVector and StatePrep because these are not supported by IonQ devices. * Fix code formatting. --------- Co-authored-by: Alex Preciado <[email protected]>
- Loading branch information
1 parent
e5beee9
commit 255a212
Showing
3 changed files
with
546 additions
and
67 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,4 @@ | |
Version number (major.minor.patch[-label]) | ||
""" | ||
|
||
__version__ = "0.37.0-dev" | ||
__version__ = "0.38.0-dev" |
This file contains 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
Oops, something went wrong.