Skip to content

Commit 389dd2e

Browse files
committed
Update documentation of "native" examples
1 parent 6cecaaa commit 389dd2e

5 files changed

Lines changed: 8 additions & 6 deletions

File tree

docs/native-mode/GraphState.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -432,10 +432,7 @@ Starting
432432

433433
We first start the virtual quantum node backend, by executing::
434434

435-
python3 simulaqron/run/startNode.py Alice &
436-
python3 simulaqron/run/startNode.py Bob &
437-
python3 simulaqron/run/startNode.py David &
438-
python3 simulaqron/run/startNode.py Charlie &
435+
simulaqron start --nodes=Alice,Bob,Charlie,David --network-config-file classicalNet.json --simulaqron-config-file simulaqron_settings.json
439436

440437
We then start up the programs for the parties themselves. These will connect to the virtual quantum nodes, and
441438
execute the quantum commands and classical communication outlined above, in the same directory as we placed
@@ -446,3 +443,6 @@ simulaqron_network.json::
446443
python3 davidTest.py &
447444
python3 aliceTest.py
448445

446+
You can easily start everything by using the a single helper script::
447+
448+
sh doNew.sh

docs/native-mode/Teleport.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,7 @@ Starting
210210

211211
We first start the virtual quantum node backend, by executing::
212212

213-
python3 simulaqron/run/startNode.py Alice &
214-
python3 simulaqron/run/startNode.py Bob &
213+
simulaqron start --nodes=Alice,Bob --network-config-file simulaqron_network.json
215214

216215
We then start up the programs for Alice and Bob themselves. These will connect to the virtual quantum nodes, and
217216
execute the quantum commands and classical communication outlined above, in the same directory as we placed
@@ -220,3 +219,6 @@ simulaqron_network.json::
220219
python3 bobTest.py &
221220
python3 aliceTest.py
222221

222+
You can easily start everything by using the a single helper script::
223+
224+
sh doNew.sh

examples/nativeMode/corrRNG/run.sh

100644100755
File mode changed.

examples/nativeMode/graphState/run.sh

100644100755
File mode changed.

examples/nativeMode/teleport/run.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)