Skip to content

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

@smitsanghavi

Description

@smitsanghavi

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions