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

Fix to logic in quantum_info.hamming_distance #1359

Merged
merged 4 commits into from
Jun 24, 2024
Merged

Conversation

renatomello
Copy link
Contributor

@renatomello renatomello commented Jun 12, 2024

The distance being reported before was not correct. This fix it.

Checklist:

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

@renatomello renatomello added the bug Something isn't working label Jun 12, 2024
@renatomello renatomello added this to the Qibo 0.2.9 milestone Jun 12, 2024
@renatomello renatomello self-assigned this Jun 12, 2024
Copy link

codecov bot commented Jun 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.84%. Comparing base (70901d5) to head (fdc2c71).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1359   +/-   ##
=======================================
  Coverage   99.84%   99.84%           
=======================================
  Files          74       74           
  Lines       10760    10765    +5     
=======================================
+ Hits        10743    10748    +5     
  Misses         17       17           
Flag Coverage Δ
unittests 99.84% <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 the quantum_info module PRs and issues related to the quantum information module label Jun 13, 2024
@renatomello renatomello requested a review from alhajri June 19, 2024 08:59
@renatomello renatomello added this pull request to the merge queue Jun 24, 2024
Merged via the queue into master with commit ad50a20 Jun 24, 2024
27 checks passed
@renatomello renatomello deleted the hamming_weight branch June 24, 2024 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working quantum_info module PRs and issues related to the quantum information module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants