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

PauliBasis is misleadingly named as it doesn't represent the operator basis of Pauli matrices+identity #36

Open
akirakyle opened this issue Dec 3, 2024 · 1 comment

Comments

@akirakyle
Copy link
Member

As discussed in #35, the basis currently named PauliBasis is actually a hilbert space basis equivalent to a CompositeBasis consisting of just num_qubits worth of `SpinBasis(1//2)'.

@Krastanov
Copy link
Collaborator

A potential solution is to rename it, make an alias with the old name, slap a deprecation warning on the alias, and remove any mention of the alias from the documentation.

@akirakyle akirakyle changed the title PauliBasis is misleadingly named as it doesn't represt the operator basis of Pauli matrices+identity PauliBasis is misleadingly named as it doesn't represent the operator basis of Pauli matrices+identity Dec 4, 2024
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 a pull request may close this issue.

2 participants