-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Allow partial state vector function to handle qudits #5077
Conversation
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.
Couple of nits. I like the new tests - the random one is a strong indicator that this behaves as expected, and the pair-of-qutrits illustrates partial-trace behavior nicely.
Automerge cancelled: A required status check is not present. Missing statuses: ['Misc check', 'Pytest Ubuntu (3.9)', 'Pytest Windows (3.7)', 'Pytest Windows (3.8)', 'Pytest Windows (3.9)', 'Typescript lint check', 'Typescript tests', 'Typescript tests coverage'] |
Oh, cirqbot... |
* Allow partial state vector function to handle qudits * nits * check norm * nit * simplify kron * lint * nits Co-authored-by: Cirq Bot <[email protected]>
* Allow partial state vector function to handle qudits * nits * check norm * nit * simplify kron * lint * nits Co-authored-by: Cirq Bot <[email protected]>
Add handling for qudits within
partial_trace_of_state_vector_as_mixture
Fixes #3003