TeamGraphix / graphix

measurement-based quantum computing (MBQC) compiler and simulator
https://graphix.readthedocs.io
Apache License 2.0
55 stars 20 forks source link

[Bug]: local Clifford after Pauli measurement #54

Closed shinich1 closed 1 year ago

shinich1 commented 1 year ago

Describe the bug It looks like the CLIFFORD_CONJ part in pattern.py, l1671 is causing the problem reported in #49. conjugate is taken when simulated, and as far as I understand we shouldn't do conjugation here. We need to extensively test the code with this patch. We may want to add test pattern to be able to pick up this kind of problem (it's strange our existing tests passed so far).

cc: @masa10-f