bloqade-python icon indicating copy to clipboard operation
bloqade-python copied to clipboard

Update Emulator interface.

Open weinbe58 opened this issue 1 year ago • 2 comments

  • Space.zero_state() now returns a StateVector object
  • AnalogGate all public APIs accept/return StateVector
  • Adding StateVector.sample and StateVector.normalize API's
  • Adding tocsr to RydbergHamiltonian for interacting with external packages.
  • Fix bug where __hash__ and __eq__ do not match for Register.

weinbe58 avatar May 15 '24 14:05 weinbe58

PR Preview Action v1.4.7 :---: Preview removed because the pull request was closed. 2024-05-29 15:17 UTC

github-actions[bot] avatar May 15 '24 14:05 github-actions[bot]

Codecov Report

Attention: Patch coverage is 93.69369% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 89.89%. Comparing base (98e2d0f) to head (f62fae6).

Files Patch % Lines
src/bloqade/emulate/ir/state_vector.py 96.20% 3 Missing :warning:
src/bloqade/emulate/ir/emulator.py 77.77% 2 Missing :warning:
src/bloqade/emulate/ir/space.py 77.77% 2 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #943      +/-   ##
==========================================
+ Coverage   89.76%   89.89%   +0.13%     
==========================================
  Files         110      110              
  Lines        8031     8088      +57     
==========================================
+ Hits         7209     7271      +62     
+ Misses        822      817       -5     

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

codecov[bot] avatar May 15 '24 14:05 codecov[bot]