Skip to content

Commit

Permalink
[minor] update the random_request_network.ipynb demo
Browse files Browse the repository at this point in the history
  • Loading branch information
caitaozhan committed Dec 15, 2024
1 parent 45441b3 commit 4b023f7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions example/random_request_network.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 22,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -113,7 +113,7 @@
" # a seed for the random number generator, and\n",
" # several arguments for request parameters.\n",
" app = RandomRequestApp(node, other_nodes, i,\n",
" min_dur=0.1e12, max_dur=0.2e12, min_size=1,\n",
" min_dur=0.4e12, max_dur=0.5e12, min_size=1,\n",
" max_size=5, min_fidelity=0.8, max_fidelity=0.85)\n",
" apps.append(app)\n",
" app.start()\n",
Expand Down Expand Up @@ -176,7 +176,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 23,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -244,15 +244,15 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": 25,
"metadata": {
"scrolled": false
},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "5e612eb5a1d049c78a37e17ecd8b5a85",
"model_id": "9017b81e2e9a49d68302befd60d9816f",
"version_major": 2,
"version_minor": 0
},
Expand All @@ -269,13 +269,13 @@
"<ipywidgets.widgets.interaction._InteractFactory at 0x111365910>"
]
},
"execution_count": 18,
"execution_count": 25,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"interact(test, sim_time=(2000, 4000, 500), qc_atten=[1e-5, 5e-5, 1e-4])\n",
"interact(test, sim_time=(2000, 4000, 500), qc_atten=[1e-5, 1e-4, 1e-3, 1e-2])\n",
"interact\n"
]
},
Expand Down

0 comments on commit 4b023f7

Please # to comment.