Skip to content

Commit ce26583

Browse files
authored
Merge pull request #8 from ICHEC/doc-fixes
Fix import order on non Intel builds.
2 parents a8e19e9 + 5e717dc commit ce26583

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ The above commands should verify the C++ modules work correctly. To verify if th
127127
128128
```bash
129129
source ./load_env.sh
130-
python -c "import QNLP as q; import PyQNLPSimulator as p; num_qubits = 8; sim = p(num_qubits, False); p.PrintStates(\"Test\", []);"
130+
python -c "from PyQNLPSimulator import PyQNLPSimulator as p; import QNLP as q; num_qubits = 8; sim = p(num_qubits, False); sim.initRegister(); sim.printStates(\"Test\", []);"
131131
```
132132
133-
The above command will load the necessary modules into the Python environment, create a simulator of 8 qubits, and print out the state coefficients. If all succeeds, the environment has been correctly set. Additionally, we can use start the `jupyter notebook` environment and run a sample notebook, located at `<QNLP_ROOT>/modules/py/nb` to further investigate.
133+
The above command will load the necessary modules into the Python environment, create a simulator of 8 qubits, and print out the state coefficients. If all succeeds, the environment has been correctly set. Additionally, we can use start the `jupyter notebook` environment and run a sample notebook, located at `<QNLP_ROOT>/modules/py/nb` to further investigate.

0 commit comments

Comments
 (0)