Skip to content

Conversation

@ytdHuang
Copy link
Member

@ytdHuang ytdHuang commented Feb 20, 2025

Checklist

Thank you for contributing to QuantumToolbox.jl! Please make sure you have finished the following tasks before opening the PR.

  • Please read Contributing to Quantum Toolbox in Julia.
  • Any code changes were done in a way that does not break public API.
  • Appropriate tests were added and tested locally by running: make test.
  • Any code changes should be julia formatted by running: make format.
  • All documents (in docs/ folder) related to code changes were updated and able to build locally by running: make docs.
  • (If necessary) the CHANGELOG.md should be updated (regarding to the code changes) and built by running: make changelog.

Request for a review after you have completed all the tasks. If you have not finished them all, you can also open a Draft Pull Request to let the others know this on-going work.

Description

This PR implements the following metric functions:

  • hilbert_dist
  • hellinger_dist
  • bures_dist
  • bures_angle

Related issues or PRs

close #414

@ytdHuang ytdHuang marked this pull request as ready for review February 21, 2025 02:16
@codecov
Copy link

codecov bot commented Feb 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.33%. Comparing base (71b8d8c) to head (dc6454f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #420      +/-   ##
==========================================
+ Coverage   94.31%   94.33%   +0.01%     
==========================================
  Files          47       47              
  Lines        2953     2963      +10     
==========================================
+ Hits         2785     2795      +10     
  Misses        168      168              

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

@albertomercurio albertomercurio merged commit 6e14238 into main Feb 21, 2025
25 checks passed
@ytdHuang ytdHuang deleted the dev/metric branch April 11, 2025 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some entropy, entanglement measure, and metric functions

3 participants