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

Rename backend methods related to norms #1518

Closed
renatomello opened this issue Nov 8, 2024 · 0 comments · Fixed by #1520
Closed

Rename backend methods related to norms #1518

renatomello opened this issue Nov 8, 2024 · 0 comments · Fixed by #1520
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Milestone

Comments

@renatomello
Copy link
Contributor

renatomello commented Nov 8, 2024

Since often the methods Backend.calculate_norm and Backend.calculate_norm_density_matrix are used to calculate the norms of objects that have the same shape as quantum states but are not exactly quantum states, I suggest renaming these methods, respectively, as Backend.calculate_vector_norm and Backend.calculate_matrix_norm` to avoid any misconceptions, especially in the documentations.

Tasks

Preview Give feedback
No tasks being tracked yet.
@renatomello renatomello self-assigned this Dec 16, 2024
@renatomello renatomello added this to the Qibo 0.2.15 milestone Dec 16, 2024
@renatomello renatomello added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant