QuTech-Delft / OpenSquirrel

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

Optimize the McKay decomposition #89

Closed pablolh closed 5 months ago

pablolh commented 9 months ago

The McKay decomposer is not optimal in some corner cases

For instance:

It turns x into [zm90, x90, x90, zm90] which I didn't even know was correct (but it is) doing [x90, x90] would be enough