Skip to content

Commit 2caf6f0

Browse files
committed
add doc for qiskit interface setup
1 parent 7abcf10 commit 2caf6f0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

qiskit/README.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
## Install the Python Qiskit interface
2+
3+
1) Setup the Python environment, we need Python>=3.6. It is recommended to use conda for the setup.
4+
5+
2) Install the importlib_resources package for locating the nwqsim lib.
6+
```bash
7+
pip install importlib_resources
8+
```
9+
10+
3) Build the package
11+
```bash
12+
python setup build
13+
```
14+
15+
4) Install the package
16+
```bash
17+
python setup install
18+
```
19+
20+
5) Test the setup
21+
```bash
22+
python ghz.py
23+
```
24+
25+
Please find how to call the simulator in the examplar ghz.py.

0 commit comments

Comments
 (0)