QuTech-Delft / OpenQL

OpenQL: A Portable Quantum Programming Framework for Quantum Accelerators. https://dl.acm.org/doi/10.1145/3474222
https://openql.readthedocs.io
Other
100 stars 44 forks source link

Bug Report: unitary decomposition crashes #356

Open DevelopDaily opened 4 years ago

DevelopDaily commented 4 years ago

Here are two test cases to illustrate the problems.

good_and_bad.zip

Both unitary matrices are 256x256, and very sparse (almost like identity). One will be decomposed successfully, but the other will crash the system.