To queue a program to be automatically executed at the start time of your reservation, rather than manually initializing it, you can use the exec_on_engage.sh script (located in the root directory of your QMI).
To view the contents of this script, enter the following command from your QMI:
cat exec_on_engage.sh
You will notice that by default, this script executes the example hello_qmi.py file that came pre-installed on your QMI, using the 9q-generic-qvm simulator:
python hello_qmi.py 9q-generic-qvm
To customize this script, update the above line of code in your exec_on_engage.sh file and replace hello_qmi.py with the file name of your program. If you've reserved a lattice, replace 9q-generic-qvm with the name of your lattice.
Comments
0 comments
Please sign in to leave a comment.