diff --git a/examples/decoding/quantum_surface.sh b/examples/decoding/quantum_surface.sh index e9aa33f..46039b4 100644 --- a/examples/decoding/quantum_surface.sh +++ b/examples/decoding/quantum_surface.sh @@ -15,9 +15,9 @@ pip install --no-index numpy scipy opt_einsum tqdm qecstruct more_itertools netw # Define arrays of lattice sizes, bond dimensions, error rates, and seeds lattice_sizes=(3 5 7 9 11) -bond_dims=(4 8 16 32 64 128 256 512) -seeds=(123 124 125 126 127 128 129 130 131 132) # 10 random seeds -num_experiments=10 # Per each random seed +bond_dims=(64 128 256) +seeds=(123 124 125 126) # 4 random seeds +num_experiments=25 # Per each random seed error_model="Bit Flip" # Error model used in the experiments error_rates=() @@ -31,28 +31,33 @@ do error_rates+=($value) done -# Create job submission scripts by iterating over combinations of the argments +# Create job submission scripts by iterating over combinations of the arguments for seed in "${seeds[@]}"; do for lattice_size in "${lattice_sizes[@]}"; do for bond_dim in "${bond_dims[@]}"; do for error_rate in "${error_rates[@]}"; do - # Create a job submission script for each combination - cat > "submit-job-${lattice_size}-${bond_dim}-${error_rate}-${error_model}-${seed}.sh" < "$job_script" <