CliffordGate not correctly matching supported gates
Open
@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.
i.e. "iSWAP".upper() = "ISWAP" which is not in supported gates (but "iSWAP" is)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.