Skip to content

Commit

Permalink
Merge pull request #8 from ICHEC/doc-fixes
Browse files Browse the repository at this point in the history
Fix import order on non Intel builds.
  • Loading branch information
mlxd authored Mar 13, 2020
2 parents a8e19e9 + 5e717dc commit ce26583
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Build.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ The above commands should verify the C++ modules work correctly. To verify if th
```bash
source ./load_env.sh
python -c "import QNLP as q; import PyQNLPSimulator as p; num_qubits = 8; sim = p(num_qubits, False); p.PrintStates(\"Test\", []);"
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\", []);"
```
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.
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 comments on commit ce26583

Please sign in to comment.