Skip to content

CliffordGate not correctly matching supported gates #214

@lucas-slattery

Description

@lucas-slattery

.upper() method preventing matching CliffordGates because it is comparing against the .keys() method of the case insensitive dict which doesn't return all upper keys.

https://github.com/NVIDIA/cuQuantum/blob/main/python/cuquantum/pauliprop/experimental/operators.py#L170

i.e. "iSWAP".upper() = "ISWAP" which is not in supported gates (but "iSWAP" is)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions