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

Qudit to Qubit state and unitary transforms expect uniform qudit dimensions #77

Open
smitsanghavi opened this issue Jan 16, 2023 · 0 comments
Assignees

Comments

@smitsanghavi
Copy link
Collaborator

The current interface of the methods in qudit_state_transform.py ask for a qudit_dimension and num_qudits, the implicit assumption being that all qudits in the system are of the same dimension. We should add support for systems having a mix of different dimensional qudits.

This would require changes to the tensor reshaping and remapping logic to generalize the transforms.

The interface can then accept a qid_shape tuple attribute similar to many Cirq methods, which will also be a nice consistency benefit.

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

No branches or pull requests

1 participant