unitaryfund / mitiq

Mitiq is an open source toolkit for implementing error mitigation techniques on most current intermediate-scale quantum computers.
https://mitiq.readthedocs.io
GNU General Public License v3.0
363 stars 160 forks source link

Flaky test in `mitiq/zne/tests/test_zne.py` #2442

Closed purva-thakre closed 2 months ago

purva-thakre commented 4 months ago

Noticed the failure here: https://github.com/unitaryfund/mitiq/actions/runs/9814019705/job/27101033866#step:6:4363

If I rerun the workflow, the test passes.

image

https://github.com/unitaryfund/mitiq/blob/e61c058777b11cc34b81be05e78b1c4bc91d7775/mitiq/zne/tests/test_zne.py#L81-L101

https://github.com/unitaryfund/mitiq/blob/e61c058777b11cc34b81be05e78b1c4bc91d7775/mitiq/interface/mitiq_cirq/cirq_utils.py#L17

cosenal commented 2 months ago

Closing as dupe of #1896.