Commit 70b5e348 authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

lower the tolerance on superposition test

parent f896a5c9
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -26,8 +26,8 @@ print("N |1> measured = ", ones);
print("N |0> measured = ", zeros);

// give the randomness a bit of wriggle room
QCOR_EXPECT_TRUE(ones > 490);
QCOR_EXPECT_TRUE(zeros > 490);
QCOR_EXPECT_TRUE(ones > 480);
QCOR_EXPECT_TRUE(zeros > 480);
)#";
  auto mlir = qcor::mlir_compile("qasm3", uint_index, "uint_index",
                                 qcor::OutputType::MLIR, false);