-
Notifications
You must be signed in to change notification settings - Fork 627
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
Qutrits: Gell-Mann Observable #3035
Conversation
…into qutrit_device
… into qutrit_unitary
…lane into qutrit_hermitian
Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com>
Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com>
Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mudit2812 for the updates and clarifications! Just a few remaining comments.
Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com>
Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com>
Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com>
Co-authored-by: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com>
Hi @mudit2812, I apologize for the delay! I will leave a review for you later tonight. Thanks, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me 💯! just a few minor comments, nothing blocking.
One question I had, the Pauli ops are both observables and operations. It seems that some of the GM matrices are also unitary, would it make sense to make them operations as well?
Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca>
Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca>
Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca>
I don't think any of the GM matrices are unitary. I'll double check and get back. However, in a future PR, operations that mimic the behavior of Pauli X, Y and Z will be added. Edit: just confirmed they're not unitary. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mudit2812 for incorporating all the changes! I added GellMann
to the docs, and once the build finishes I will merge.
Context:
There are very few simulators available today that offer qudit simulation. One notable example is Google's Cirq, which includes support for qudit operations. However, the simulator is far from complete, and a key drawback is the lack of operations available, which creates a need for users to define operations themselves. Popular libraries such as Qiskit and QuTiP also include some qudit manipulation capabilities, but with few use cases. Beyond these libraries, qudit simulation solutions are quite limited. Moreover, qudit simulation is a feature that is already in demand, as seen in this issue on the PennyLane repository.
This PR builds upon the previous PR's that added qutrit functionality by adding the Gell-Mann matrices as qutrit observables.
Description of the Change:
GellMannObs
observable(s), which are the qutrit analog of the Pauli observables.Benefits:
Possible Drawbacks:
Related GitHub Issues:
#2190