]> foleosoft.com Git - QAnsel.git/commitdiff
Sun Feb 11 05:59:54 PM EST 2024
authorserver <[email protected]>
Sun, 11 Feb 2024 22:59:54 +0000 (17:59 -0500)
committerserver <[email protected]>
Sun, 11 Feb 2024 22:59:54 +0000 (17:59 -0500)
examples/belltest.sh [deleted file]

diff --git a/examples/belltest.sh b/examples/belltest.sh
deleted file mode 100644 (file)
index c0efe05..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-trials=1000
-cwins=0
-qwins=0
-for i in $(seq 1 $trials)
-do
-    clear
-    echo "$(( (100 * i) / trials ))%"
-
-    resultsC="$(../bin/QAnsel < belltest_c.txt | xargs | sed 's/ //g')"
-    resultsQ="$(../bin/QAnsel < belltest_q.txt | xargs | sed 's/ //g')"
-    if [ "$resultsQ" == "1111" ]
-    then
-        qwins=$((qwins+1))
-    fi
-    if [ "$resultsC" == "1111" ]
-    then
-        cwins=$((cwins+1))
-    fi
-
-done
-clear
-
-echo "Classical Strategy: $cwins points"
-echo "Quantum Strategy: $qwins points"