From 65bd09ac821736fb94ddfdb5397a74b7d25c0493 Mon Sep 17 00:00:00 2001 From: Daniel Schoenberger Date: Thu, 14 Nov 2024 17:57:07 +0100 Subject: [PATCH] first solution --- __pycache__/Cycles.cpython-311.pyc | Bin 20652 -> 20621 bytes __pycache__/graph_utils.cpython-311.pyc | Bin 26847 -> 26611 bytes __pycache__/scheduling.cpython-311.pyc | Bin 19572 -> 19572 bytes run_heuristic.py | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) diff --git a/__pycache__/Cycles.cpython-311.pyc b/__pycache__/Cycles.cpython-311.pyc index 886fe1ef1636454db73ef9e97df2d6234bccfbd1..aa3f64190d6ff4694197d6b159c25f273b33cafb 100644 GIT binary patch delta 348 zcmXAl&nrYx9L3+c?|E;2xWgp#qe-tU42djcvQZKXjov~wHw$Wtn44lsp@afPlq?j=%1ZtO8!t|sI_GnC=e&gN68I_SKF!r#OV89zmPeD*ZrRgP zS_)}RLNNSiT^KH7=^AMYQ(D6M<9ga7y}~Pf!YBR0FKb1u9S3!$6*%2cy6meGi3n94a<^g(BSye*h;`Ohy2cE=ERy apz=6fYQUNHy}OUW^}?sRbXwJybN>tD{Act4 delta 416 zcmXX>JxE(o7`^Ad_mby}FENTSK_r4ulfj>Y)J_ElD=lh-;NXQqhgVAR-4GCwQl%gw zRuF3MpokWAFa%w~=TCI7OGOza73$|OO7ry+$g11OG&1z5!CS^vOKcru^fT7ZF-89y!@wjNO(w^@ z3dZyJLdE#84=XhBWEeP97p+D7pxHzO_)2TZsE!itx4q@Kq=wE_9XGVwHObLTPrE1l zNKpPolZF;L?SYOZI`54E)AaXcM8kJ=_v#3%wDygH1_di9J%CrB3bv7#((b diff --git a/__pycache__/graph_utils.cpython-311.pyc b/__pycache__/graph_utils.cpython-311.pyc index 4a9b3d0772341f6e86386e4fded45bdbc3bb3086..d88abfaa05a2fff22c93344d6f1322c2a9a2171c 100644 GIT binary patch delta 3829 zcma)94Qx}_7523q$FURQ#4N;4oH+k+2ni+|f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L0 z)#6}&7@WHSveKBSHD|JZQMA0+5l5$%e;qSsi^cNXQFIRg#t3fC*5a7E8adzL0NbOO zqUZgxQM4Ze+{yzQ&i6M80-gOUnzDwXT%6Q_# z;&&ZYB`qL7g6SD*Fv53x{Gnh_m3Il9uR)YT)7?nj05v#@Haw>;4Yakd_d4%5!x?NWSVa(gWauHD3KuGsOFFNuV%M`W? zU1Sq2PT5U2q(DTop@Dty--w~kY&I#5bh@l*nE0Bw&{<)uXVIz7KgW~7sZ!;mknpDg z&k)RaP)O8um$*)oy=MzkFyM%i?iwGrJ;w-Jcj+fC)-RLqO#s}3vUw==C zhhsmBG!r?S4uV%S`*Rn|%CZq$omj*+%fR2KZa9trK}`>S6Zzfjjp$GPJ#0UgYj-*M zi}d9$0Zs#afNg+`t_Sf XA26*lv$AQ!!uW}#U;lzpX|?|X+K-|A diff --git a/__pycache__/scheduling.cpython-311.pyc b/__pycache__/scheduling.cpython-311.pyc index 6292267fd1fb07b38a7af3ef88ce7d0e9050f4e6..9c760b8b92fa1a281efe37712d3c06986ad0bf15 100644 GIT binary patch delta 21 bcmew|gYnA@My}<&yj%=GP^-3)E6WD}PIU$Z delta 21 bcmew|gYnA@My}<&yj%=Gpf10WE6WD}Oil%- diff --git a/run_heuristic.py b/run_heuristic.py index 9836995..0da3d47 100644 --- a/run_heuristic.py +++ b/run_heuristic.py @@ -45,7 +45,7 @@ def run_simulation_for_architecture(arch, seeds, pz, max_timesteps, time_1qubit_ memorygrid.distance_map, filename, compilation=compilation ) timestep = run_simulation( - memorygrid, max_timesteps, seq, flat_seq, dag_dep, next_node_initial, max_length=10, show_plot=False + memorygrid, max_timesteps, seq, flat_seq, dag_dep, next_node_initial, max_length=10 ) timestep_arr.append(timestep) cpu_time = time.time() - start_time