Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI failing for Windows pytest #6201

Closed
tanujkhattar opened this issue Jul 17, 2023 · 0 comments · Fixed by #6202
Closed

CI failing for Windows pytest #6201

tanujkhattar opened this issue Jul 17, 2023 · 0 comments · Fixed by #6202
Labels
kind/bug-report Something doesn't seem to work.

Comments

@tanujkhattar
Copy link
Collaborator

Description of the issue
See https://github.com/quantumlib/Cirq/actions/runs/5578431373/jobs/10192635623?pr=6198

=========================== short test summary info ===========================
FAILED cirq-google/cirq_google/calibration/engine_simulator_test.py::test_with_random_gaussian_sqrt_iswap_simulates_correctly - assert False
 +  where False = <function allclose_up_to_global_phase at 0x0000014D69BA5AB0>(array([ 0.        +0.0000000e+00j,  0.        +0.0000000e+00j,  0.        +0.0000000e+00j, -0.34968054-3.7625067e-02j,... -1.2306079e-02j,  0.        +0.0000000e+00j,  0.        +0.0000000e+00j,  0.        +0.0000000e+00j], dtype=complex64), array([ 0.0000000e+00+0.j        ,  0.0000000e+00+0.j        ,  0.0000000e+00+0.j        , -3.7625063e-02+0.3496805j ,...e-02-0.34322196j,  0.0000000e+00+0.j        ,  0.0000000e+00+0.j        ,  0.0000000e+00+0.j        ], dtype=complex64))
 +    where <function allclose_up_to_global_phase at 0x0000014D69BA5AB0> = cirq.allclose_up_to_global_phase
= 1 failed, 20167 passed, 207 skipped, 92 xfailed, 527 warnings in 786.30s (0:13:06) =

Fix should probably to increase accuracy to np.complex128 or reduce atol ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-report Something doesn't seem to work.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant