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]: `get_measurement_commands` should not alter the pattern #173

Open shinich1 opened 2 weeks ago

shinich1 commented 2 weeks ago

Describe the bug get_ method should not normally change itself. remove the following lines: https://github.com/TeamGraphix/graphix/blob/cef611d3b9555867aac8dfbbbdb21b484de01a45/graphix/pattern.py#L954C2-L956C2