zxcalc / pyzx

Python library for quantum circuit rewriting and optimisation using the ZX-calculus
Apache License 2.0
388 stars 116 forks source link

Fix cat decomposition bug #270

Closed alexkoziell closed 2 months ago

alexkoziell commented 2 months ago

Fix bug in cat decomposition functions, where List was used instead of list.