# since this is a stochastic calculation, we need a threshold to determine when the calculation is withing close enough relative error
threshold=0.005 # absolute value threshold difference between computed and exact value
# since this is a stochastic calculation, we need a threshold to determine when the calculation is withing close enough relative error
threshold=0.005 # absolute value threshold difference between computed and exact value
-numruns=20
+numruns=100
echo "Starting test of $numruns random $numqubits-Pauli expectation values calculated by averaging $numsamples random stabilizer states and comparing to threshold $threshold..."
for i in $(seq 1 $numruns)
do
# sleep for 1 second for the pseudorandom number generator
echo "Starting test of $numruns random $numqubits-Pauli expectation values calculated by averaging $numsamples random stabilizer states and comparing to threshold $threshold..."
for i in $(seq 1 $numruns)
do
# sleep for 1 second for the pseudorandom number generator