Infleqtion / client-superstaq

https://superstaq.readthedocs.io
Apache License 2.0
84 stars 19 forks source link

barriers should never commute #1012

Closed richrines1 closed 1 month ago

richrines1 commented 1 month ago

adds _commutes_ and _commutes_on_qids_ magic methods to css.Barrier to indicate that barriers should never commute

(also adds one line in job_test.py to prevent a superfluous warning from appearing in the pytest output)