-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathScanScript.py
More file actions
13 lines (12 loc) · 792 Bytes
/
Copy pathScanScript.py
File metadata and controls
13 lines (12 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
from sys import argv
import os
script, first = argv
file = open(str(first)+'.log', 'w')
file.close()
for i in range(0, 5):
os.system('python OF_VQE.py -l '+str(first)+'.log -m INFO -rw a -p increasing_unexp_comms -sys '+str(first)+' -d '+str(i/10))
os.system('python OF_VQE.py -l '+str(first)+'.log -m INFO -rw a -p decreasing_unexp_comms -sys '+str(first)+' -d '+str(i/10))
os.system('python OF_VQE.py -l '+str(first)+'.log -m INFO -rw a -p increasing_comms -sys '+str(first)+' -d '+str(i/10))
os.system('python OF_VQE.py -l '+str(first)+'.log -m INFO -rw a -p decreasing_comms -sys '+str(first)+' -d '+str(i/10))
for j in range(0, 100):
os.system('python OF_VQE.py -l '+str(first)+'.log -m INFO -rw a -s '+str(j)+' -p random -sys '+str(first)+' -d '+str(i/10))