XanaduAI / strawberryfields

Strawberry Fields is a full-stack Python library for designing, simulating, and optimizing continuous variable (CV) quantum optical circuits.
https://strawberryfields.ai
Apache License 2.0
751 stars 187 forks source link

Update Result class to work with XCC #651

Closed thisac closed 2 years ago

thisac commented 2 years ago

Context: As part of the XCC integration, the Result class needs to be updated.

Description of the Change:

Benefits: Things work better together with XCC and the dictionary type samples that will be returned from the HW.

Possible Drawbacks:

Related GitHub Issues: None

codecov[bot] commented 2 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (integrate-xanadu-cloud-client@188123b). Click here to learn what that means. The diff coverage is n/a.

@@                       Coverage Diff                        @@
##             integrate-xanadu-cloud-client     #651   +/-   ##
================================================================
  Coverage                                 ?   98.20%           
================================================================
  Files                                    ?       75           
  Lines                                    ?     8982           
  Branches                                 ?        0           
================================================================
  Hits                                     ?     8821           
  Misses                                   ?      161           
  Partials                                 ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 188123b...7138dc9. Read the comment docs.