zxcalc / pyzx

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

Implement cats when Clifford has phase pi #271

Closed alexkoziell closed 2 months ago

alexkoziell commented 2 months ago
dlyongemallo commented 2 months ago

Can you please add a test to test_simulate.py that fails without your change and passes with it?

alexkoziell commented 2 months ago

@dlyongemallo done.