QuTech-Delft / OpenSquirrel

A flexible (Python-based) quantum program compiler
Apache License 2.0
7 stars 2 forks source link

Implement naïve McKay decomposition optimization and match anonymous gates to defined gates #195

Closed juanboschero closed 5 months ago

juanboschero commented 5 months ago

This also covers issue #89

rturrado commented 5 months ago

Also, please check these static analysis errors. I think you'll be safe running the commands below and git pushing the suggested changes:

(opensquirrel-py3.11) OpenSquirrel $ poetry run isort .
(opensquirrel-py3.11) OpenSquirrel $ poetry run black .
(opensquirrel-py3.11) OpenSquirrel $ python -m pytest -vv