You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+13-13
Original file line number
Diff line number
Diff line change
@@ -71,20 +71,18 @@ For user convenience, this section assumes that users will deploy the infrastruc
71
71
72
72
1. Access the JupyterLab environment
73
73
Open `localhost:8888`in your web browser. The default token for the JupyterLab is `123`
74
-
1. Write your first example program
75
-
In the JupyterLab, create a new file, `program.py`, in the `work` directory.
76
-
77
-
Save [this example python code](https://qiskit-extensions.github.io/quantum-serverless/quickstart/index.html#id8).
74
+
1. Write your first example Qiskit Pattern.
75
+
In the JupyterLab, create a new file, `pattern.py`, in the `work` directory. You can include any arbitrary Python code in your program, or you can use the
76
+
[example Python file in this tutorial](https://github.com/Qiskit-Extensions/quantum-serverless/blob/main/docs/getting_started/basic/01_running_program.ipynb).
78
77
79
-
Now, you are ready to run the first program.
80
78
1. Run the program
81
-
In the JupyterLab, create a new notebook in the same directory as your program, and execute [this python code](https://qiskit-extensions.github.io/quantum-serverless/quickstart/index.html#id9).
79
+
In the JupyterLab, create a new notebook in the same directory as your program, and execute [the tutorial code](https://github.com/Qiskit-Extensions/quantum-serverless/blob/main/docs/getting_started/basic/01_running_program.ipynb).
82
80
83
81
You can check the job status and get the result.
84
82
85
83
```
86
84
job.status()
87
-
# <JobStatus.SUCCEEDED: 'SUCCEEDED'>
85
+
# 'DONE'
88
86
89
87
job.logs()
90
88
# 2023-09-21 03:48:40,286\tINFO worker.py:1329 -- Using address 172.18.0.4:6379 set in the environment variable RAY_ADDRESS\n2023-09-21 03:48:40,286\tINFO worker.py:1458 -- Connecting to existing Ray cluster at address: 172.18.0.4:6379...\n2023-09-21 03:48:40,295\tINFO worker.py:1633 -- Connected to Ray cluster. View the dashboard at \x1b[1m\x1b[32m172.18.0.4:8265 \x1b[39m\x1b[22m\n
@@ -97,16 +95,18 @@ For user convenience, this section assumes that users will deploy the infrastruc
97
95
That's all!
98
96
99
97
For more detailed examples and explanations refer to the [Guide](https://qiskit-extensions.github.io/quantum-serverless/index.html):
0 commit comments