qiboteam / qibo

A full-stack framework for quantum computing.
https://qibo.science
Apache License 2.0
294 stars 60 forks source link

Clifford test failing randomly #1392

Closed alecandido closed 3 months ago

alecandido commented 4 months ago
FAILED tests/test_backends_clifford.py::test_bitflip_noise[numpy] - AssertionError: 
Not equal to tolerance rtol=1e-07, atol=0.1

Mismatched elements: 4 / 4 (100%)
Max absolute difference: 0.265
Max relative difference: 3.44155844
 x: array([0.351, 0.158, 0.342, 0.149])
 y: array([0.615, 0.271, 0.077, 0.037])

https://github.com/qiboteam/qibo/actions/runs/9945594113/job/27474201892?pr=1391#step:9:467

Rerunning the test was enough to pass it. https://github.com/qiboteam/qibo/actions/runs/9945594113/job/27482679277?pr=1391