NVIDIA / NVIDIA/cuQuantum

CliffordGate not correctly matching supported gates

Open
#214 4 comments 0 reactions 1 assignee View on GitHub

@b-kloss is already working on this.

Since Mar 16, 2026.

Dominant language
Jupyter Notebook
Stars
499
Forks
102
PR merge metrics
No merged PRs in 30d

Description

.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)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.