pennylane-qiskit
pennylane-qiskit copied to clipboard
Now transpiles for estimator and sampler
Without transpilation, you can't run Estimators and Samplers using Qiskit 1.0. This is a simple change that just transpiles circuits so that it can be submitted to a real hardware backend. Tested on a local notebook that access to the device works as intended and the answers seem reasonable (other than some formatting issues that a different PR is addressing).
[sc-62928]
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
5e11e3a
) to head (6a4c091
).
Additional details and impacted files
@@ Coverage Diff @@
## new_device_feature_branch #531 +/- ##
===========================================================
Coverage 100.00% 100.00%
===========================================================
Files 8 8
Lines 848 850 +2
===========================================================
+ Hits 848 850 +2
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Can hold off on this one while we decide on if we are going to change to using V2 primitives instead.
This is just a few lines of code so I merged it into #539 as without the transpilation none of the code works 😅