Skip to content

Commit

Permalink
avoid scipy warnings in irb tests (#1073)
Browse files Browse the repository at this point in the history
  • Loading branch information
richrines1 authored Sep 24, 2024
1 parent fef8d60 commit 5b2da0b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions supermarq-benchmarks/supermarq/qcvv/irb_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,20 @@ def test_analyse_results(irb_experiment: IRB) -> None:
"0": 0.5 * 0.8**1 + 0.5 - 0.00000015,
"1": 0.5 - 0.5 * 0.8**1 + 0.00000015,
},
{
"clifford_depth": 2,
"circuit_depth": 3,
"experiment": "RB",
"0": 0.5 * 0.95**2 + 0.5 + 0.0000011,
"1": 0.5 - 0.5 * 0.95**2 - 0.0000011,
},
{
"clifford_depth": 2,
"circuit_depth": 4,
"experiment": "IRB",
"0": 0.5 * 0.8**2 + 0.5 - 0.00000017,
"1": 0.5 - 0.5 * 0.8**2 + 0.00000017,
},
{
"clifford_depth": 5,
"circuit_depth": 6,
Expand Down Expand Up @@ -356,6 +370,13 @@ def test_analyse_results_rb() -> None:
"0": 0.5 * 0.95**1 + 0.5 - 0.0000001,
"1": 0.5 - 0.5 * 0.95**1 + 0.0000001,
},
{
"clifford_depth": 3,
"circuit_depth": 4,
"experiment": "RB",
"0": 0.5 * 0.95**3 + 0.5 - 0.0000003,
"1": 0.5 - 0.5 * 0.95**3 + 0.0000003,
},
{
"clifford_depth": 5,
"circuit_depth": 6,
Expand Down

0 comments on commit 5b2da0b

Please sign in to comment.