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

Tests of "Noisy Gates" fail randomly #299

Open
royess opened this issue Jun 20, 2024 · 0 comments
Open

Tests of "Noisy Gates" fail randomly #299

royess opened this issue Jun 20, 2024 · 0 comments

Comments

@royess
Copy link
Contributor

royess commented Jun 20, 2024

I captured a test failure for "Noisy Gates." I am unsure whether it should sometimes fail as #245 .

Noisy Gates: Test Failed at /home/yuxuan/Documents/Repos/QuantumClifford.jl/test/test_noisycircuits.jl:25
  Expression: res1 != res2
   Evaluated: + XX_X_ZX
+ ZZ_____
+ __Z____
+ _ZZZ___
+ ____Z__
+ ___ZZX_
+ _____XZ != + XX_X_ZX
+ ZZ_____
+ __Z____
+ _ZZZ___
+ ____Z__
+ ___ZZX_
+ _____XZ

Stacktrace:
 [1] macro expansion
   @ ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Test/src/Test.jl:672 [inlined]
 [2] macro expansion
   @ ~/Documents/Repos/QuantumClifford.jl/test/test_noisycircuits.jl:25 [inlined]
 [3] macro expansion
   @ ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
 [4] top-level scope
   @ ~/Documents/Repos/QuantumClifford.jl/test/test_noisycircuits.jl:12
Test Summary:                                  | Pass  Fail  Total  Time
noisycircuits                                  |   90     1     91  5.2s
  Noisy Gates                                  |    1     1      2  1.7s
  Monte Carlo Purification examples            |    9            9  0.4s
  Perturbative expansion Purification examples |   12           12  2.3s
  Measurements                                 |   53           53  0.5s
  Classical Bits                               |   15           15  0.1s
ERROR: LoadError: Some tests did not pass: 90 passed, 1 failed, 0 errored, 0 broken.
in expression starting at /home/yuxuan/Documents/Repos/QuantumClifford.jl/test/runtests.jl:52
ERROR: Package QuantumClifford errored during testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant