diff --git a/examples/decoding/quantum_surface.sh b/examples/decoding/quantum_surface.sh index 46039b4..78fe3f6 100644 --- a/examples/decoding/quantum_surface.sh +++ b/examples/decoding/quantum_surface.sh @@ -14,21 +14,32 @@ pip install --no-index --upgrade pip pip install --no-index numpy scipy opt_einsum tqdm qecstruct more_itertools networkx matrex@git+https://github.com/quicophy/matrex # Define arrays of lattice sizes, bond dimensions, error rates, and seeds -lattice_sizes=(3 5 7 9 11) -bond_dims=(64 128 256) -seeds=(123 124 125 126) # 4 random seeds -num_experiments=25 # Per each random seed +lattice_sizes=(13) +bond_dims=(256) +seeds=( + 123 124 125 126 127 128 129 130 131 132 + 133 134 135 136 137 138 139 140 141 142 + 143 144 145 146 147 148 149 150 151 152 + 153 154 155 156 157 158 159 160 161 162 + 163 164 165 166 167 168 169 170 171 172 + 173 174 175 176 177 178 179 180 181 182 + 183 184 185 186 187 188 189 190 191 192 + 193 194 195 196 197 198 199 200 201 202 + 203 204 205 206 207 208 209 210 211 212 + 213 214 215 216 217 218 219 220 221 222 +) # 100 random seeds +num_experiments=10 # Per each random seed error_model="Bit Flip" # Error model used in the experiments error_rates=() -start=0.05 -end=0.15 -num_points=11 -step=$(echo "($end - $start) / ($num_points - 1)" | bc -l) -for ((i=0; i<$num_points; i++)) +start=0.105 +end=0.115 +step=0.001 +current=$start +while (( $(echo "$current <= $end" | bc -l) )) do - value=$(echo "$start + $i * $step" | bc -l) - error_rates+=($value) + error_rates+=($current) + current=$(echo "$current + $step" | bc -l) done # Create job submission scripts by iterating over combinations of the arguments @@ -43,9 +54,9 @@ for seed in "${seeds[@]}"; do # Create the job submission script cat > "$job_script" <