TeamGraphix / graphix

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

Add Pauli planes to measurement-plane data structure #181

Open shinich1 opened 1 month ago

shinich1 commented 1 month ago

Currently, Pauli measurements are determined by checking the angle mod $2\pi$, with non-zero possiblity of incorrect determination of Pauli-measured nodes by numerical errors. I believe it's natural to incorporate Pauli measurements as X, Y, and Z planes. See also implementation of rust-based flow-finding routines in https://github.com/TeamGraphix/fastflow/pull/3.

mgarnier59 commented 1 month ago

Indeed that's something we were considering when looking at upgrading the Pauli measurement preprocessing. Are we sure, the modulo can miss some cases? I had the same question but it seemed to work well so we decided it wasn't necessary.

If we add this we then have multiple ways of defining Pauli measurement that will have to be delt with.

No strong opinion about this, open to discussion !