-
Notifications
You must be signed in to change notification settings - Fork 1
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 batch execute single tape #22
Conversation
Codecov Report
@@ Coverage Diff @@
## main #22 +/- ##
===========================================
- Coverage 100.00% 98.44% -1.56%
===========================================
Files 10 12 +2
Lines 427 580 +153
===========================================
+ Hits 427 571 +144
- Misses 0 9 +9
Continue to review full report at Codecov.
|
…I/pennylane-orquestra into fix_batch_execute_single_tape
Not sure about the covearge drop: running
(Note the test file is included for some reason.) |
Changes
batch_execute
method to support executing single tapes as perPennyLane v0.20.0 where batch execution is the default for a QNode.
Also, fixes issues that came from updates in PennyLane and in the Z-Quantum libraries:
from zquantum.core import circuits
;import_from_qiskit
function fromqeqiskit.conversions
;n_samples
to the methods being used from z-quantum-core rather than using it while creating a backend (create_object
);qml.matrix
top-level function.Also added Python 3.9 and Python 3.10 runners.