Skip to content
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

Modify models.encodings.hamming_weight_encoder to upload data in the lexicographical order #1572

Merged
merged 4 commits into from
Feb 3, 2025

Conversation

renatomello
Copy link
Contributor

@renatomello renatomello commented Feb 3, 2025

Data is amplitude-encoded in the lexicographical order instead of the order of the original Gray code.

Checklist:

  • Reviewers confirm new code works as expected.
  • Tests are passing.
  • Coverage does not decrease.
  • Documentation is updated.

@renatomello renatomello added the enhancement New feature or request label Feb 3, 2025
@renatomello renatomello added this to the Qibo 0.2.16 milestone Feb 3, 2025
@renatomello renatomello self-assigned this Feb 3, 2025
Copy link

codecov bot commented Feb 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.66%. Comparing base (66b1a0f) to head (cf99513).
Report is 5 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1572   +/-   ##
=======================================
  Coverage   99.66%   99.66%           
=======================================
  Files          76       76           
  Lines       11440    11445    +5     
=======================================
+ Hits        11402    11407    +5     
  Misses         38       38           
Flag Coverage Δ
unittests 99.66% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renatomello renatomello added this pull request to the merge queue Feb 3, 2025
Merged via the queue into master with commit 0fb5d86 Feb 3, 2025
27 checks passed
@renatomello renatomello deleted the lexicographical_order branch February 3, 2025 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants