Skip to content

Commit ad1b79d

Browse files
authored
[refactor] Move scripts to scripts folder (quantum-compiler#157)
1 parent 52d5b74 commit ad1b79d

21 files changed

+17
-15
lines changed
File renamed without changes.

gen_ecc_set.sh scripts/gen_ecc_set.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
cd ..
12
mkdir -p build
23
cd build
34
cmake ..

run_ibmq.sh scripts/run_ibmq.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/sh
2-
cd build
2+
cd ../build
33
make test_ibmq
44
mkdir -p ../circuit/nam-benchmarks/output_files/ibmq
55
if [ $# -eq 0 ]

run_ibmq_disable_search.sh scripts/run_ibmq_disable_search.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/sh
2-
cd build
2+
cd ../build
33
make test_ibmq
44
mkdir -p ../circuit/nam-benchmarks/output_files/ibmq
55
if [ $# -eq 0 ]

run_ibmq_td_disabled.sh scripts/run_ibmq_td_disabled.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/sh
2-
cd build
2+
cd ../build
33
make test_ibmq_td_disabled
44
mkdir -p ../circuit/nam-benchmarks/output_files/ibmq/log
55
./test_ibmq_td_disabled ../circuit/nam-benchmarks/qcla_mod_7.qasm --output ../circuit/nam-benchmarks/output_files/ibmq/qcla_mod_7.qasm.output.ibmq.disable_td > ../circuit/nam-benchmarks/output_files/ibmq/log/qcla_mod_7.log &

run_ionq.sh scripts/run_ionq.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -ex
44

5-
cd src/test
5+
cd ../src/test
66

77
python test_ionq.py dj_nativegates_ionq_qiskit_opt0_10_norm ../../ionq_output & sleep 60
88
python test_ionq.py ghz_nativegates_ionq_qiskit_opt0_10_norm ../../ionq_output & sleep 60

run_nam.sh scripts/run_nam.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/sh
2-
cd build
2+
cd ../build
33
make test_nam
44
mkdir -p ../circuit/nam-benchmarks/output_files/nam
55
if [ $# -eq 0 ]

run_nam_disable_search.sh scripts/run_nam_disable_search.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/sh
2-
cd build
2+
cd ../build
33
make test_nam
44
mkdir -p ../circuit/nam-benchmarks/output_files/nam
55
if [ $# -eq 0 ]

run_nam_rm.sh scripts/run_nam_rm.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -ex
44

5-
cd src/test
5+
cd ../src/test
66

77
python test_nam_rm.py adder_8 ../../nam_rm_output & sleep 60
88
python test_nam_rm.py barenco_tof_3 ../../nam_rm_output & sleep 60

run_nam_td_disabled.sh scripts/run_nam_td_disabled.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/sh
2-
cd build
2+
cd ../build
33
make test_nam_td_disabled
44
mkdir -p ../circuit/nam-benchmarks/output_files/nam/log
55
./test_nam_td_disabled ../circuit/nam-benchmarks/qcla_mod_7.qasm --output ../circuit/nam-benchmarks/output_files/nam/qcla_mod_7.qasm.output.nam.disable_td > ../circuit/nam-benchmarks/output_files/nam/log/qcla_mod_7.log &

run_nam_worm.sh scripts/run_nam_worm.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -ex
44

5-
cd src/test
5+
cd ../src/test
66

77
python test_nam_worm.py adder_8 ../../nam_worm_output & sleep 60
88
python test_nam_worm.py barenco_tof_3 ../../nam_worm_output & sleep 60

run_rigetti.sh scripts/run_rigetti.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/sh
2-
cd build
2+
cd ../build
33
make test_rigetti
44
if [ $# -eq 0 ]
55
then

run_rigetti_disable_search.sh scripts/run_rigetti_disable_search.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/sh
2-
cd build
2+
cd ../build
33
make test_rigetti
44
mkdir -p ../circuit/nam-benchmarks/output_files/rigetti
55
if [ $# -eq 0 ]

run_rigetti_new.sh scripts/run_rigetti_new.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -ex
44

5-
cd src/test
5+
cd ../src/test
66

77
python test_rigetti.py dj_nativegates_rigetti_qiskit_opt0_10_norm ../../rigetti_norm_output & sleep 60
88
python test_rigetti.py ghz_nativegates_rigetti_qiskit_opt0_10_norm ../../rigetti_norm_output & sleep 60

run_rigetti_td_disabled.sh scripts/run_rigetti_td_disabled.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/sh
2-
cd build
2+
cd ../build
33
make test_rigetti_td_disabled
44
mkdir -p ../circuit/nam-benchmarks/output_files/rigetti
55
./test_rigetti_td_disabled ../circuit/nam-benchmarks/adder_8.qasm --output ../circuit/nam-benchmarks/output_files/rigetti/adder_8.qasm.output.rigetti &
File renamed without changes.

run_t_tdg_rm.sh scripts/run_t_tdg_rm.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cd src/test
1+
cd ../src/test
22

33
python test_t_tdg_rm.py adder_8 ../../t_tdg_rm_output & sleep 10
44
python test_t_tdg_rm.py barenco_tof_3 ../../t_tdg_rm_output & sleep 10

run_t_tdg_worm.sh scripts/run_t_tdg_worm.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cd src/test
1+
cd ../src/test
22

33
python test_t_tdg_worm.py adder_8 ../../t_tdg_worm_output & sleep 1200
44
python test_t_tdg_worm.py barenco_tof_3 ../../t_tdg_worm_output & sleep 1200

run_table2.sh scripts/run_table2.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
cd ..
12
mkdir -p build
23
cd build
34
cmake ..
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)