pennylane-qiskit icon indicating copy to clipboard operation
pennylane-qiskit copied to clipboard

A translation function is added for converting the Qiskit probability output dictionary keys (integers indicating state) into the correct format for qml.probs

Open austingmhuang opened this issue 1 year ago • 2 comments

When using primitives the output for qml.probs on qiskitdevice2 is currently in the wrong format. This PR seeks to amend that so that the output formats are consistent.

austingmhuang avatar May 07 '24 20:05 austingmhuang

[sc-54389]

austingmhuang avatar May 07 '24 20:05 austingmhuang

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (3c5dec3) to head (baedb87).

Additional details and impacted files
@@                     Coverage Diff                     @@
##           new_device_feature_branch      #529   +/-   ##
===========================================================
  Coverage                     100.00%   100.00%           
===========================================================
  Files                              8         8           
  Lines                            843       843           
===========================================================
  Hits                             843       843           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 07 '24 20:05 codecov[bot]

Closing this since these changes are reflected in #539

austingmhuang avatar May 24 '24 15:05 austingmhuang