-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_all_scripts.bat
More file actions
34 lines (31 loc) · 835 Bytes
/
Copy pathrun_all_scripts.bat
File metadata and controls
34 lines (31 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
@echo off
setlocal enableextensions
REM Root folder and Python
set "ROOT=%~dp0"
if not defined PYTHON_BIN set "PYTHON_BIN=python"
REM List the scripts to run (edit this list as you like)
for %%S in (
"demo_bell.qsm"
"qudit_walk_5.qsm"
"depolarizeD_7.qsm"
"oscillator_normal_order.qsm"
"amplitude_damp_2q.qsm"
"five_qubit_recovery.qsm"
"depolarize_first_qubit_3q.qsm"
"ramsey_magnetometer.qsm"
"qkd_bell_link_noise.qsm"
"ghz_phase_sensing_3q.qsm"
"bosonic_kerr_meter.qsm"
"qutrit_link_depolarizeD.qsm"
"phase_damping_custom_single_qubit.qsm"
"two_qubit_dephasing_correlation.qsm"
"boson_photon_stats.qsm"
"qudit_walk_noise_10.qsm"
"qec_5_qubit_local_noise_and_recovery.qsm"
) do (
echo ===> Running %%~S
call "%PYTHON_BIN%" "%ROOT%qsm.py" "%ROOT%scripts\%%~S"
echo.
)
echo All done.
exit /b 0