Skip to content

Commit 788bc3d

Browse files
author
Q-CTRL Robot
committed
fix: Fix qctrl-visualizer install for FO notebooks (#1453) (notebooks update)
1 parent e5cf974 commit 788bc3d

2 files changed

Lines changed: 18 additions & 10 deletions

File tree

fire-opal/apply/compute-the-ground-state-energy-of-formaldehyde-using-fire-opal.ipynb

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,13 @@
4848
]
4949
},
5050
{
51-
"cell_type": "markdown",
51+
"cell_type": "code",
52+
"execution_count": null,
5253
"id": "63df133e",
5354
"metadata": {},
55+
"outputs": [],
5456
"source": [
55-
"> pip install qiskit_addon_sqd qctrlvisualizer pyscf"
57+
"%pip install qiskit_addon_sqd qctrl-visualizer pyscf"
5658
]
5759
},
5860
{
@@ -1225,7 +1227,7 @@
12251227
],
12261228
"metadata": {
12271229
"kernelspec": {
1228-
"display_name": "q-chemistry",
1230+
"display_name": ".venv (3.11.15)",
12291231
"language": "python",
12301232
"name": "python3"
12311233
},
@@ -1239,7 +1241,7 @@
12391241
"name": "python",
12401242
"nbconvert_exporter": "python",
12411243
"pygments_lexer": "ipython3",
1242-
"version": "3.11.14"
1244+
"version": "3.11.15"
12431245
}
12441246
},
12451247
"nbformat": 4,

fire-opal/apply/solve-maximum-weight-independent-set-problems-using-fire-opal.ipynb

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,16 @@
7272
"cell_type": "markdown",
7373
"metadata": {},
7474
"source": [
75-
" Please note that you will need to additionally install a few additional packages such `qctrlvisualizer` and `PySCIPOpt` if you haven't done so already. You can install them via pip:\n",
76-
" ```\n",
77-
"pip install qctrlvisualizer pyscipopt sympy networkx\n",
78-
"```"
75+
" Please note that you will need to additionally install a few additional packages such `qctrlvisualizer` and `PySCIPOpt` if you haven't done so already. You can install them via pip:"
76+
]
77+
},
78+
{
79+
"cell_type": "code",
80+
"execution_count": null,
81+
"metadata": {},
82+
"outputs": [],
83+
"source": [
84+
"%pip install qctrl-visualizer pyscipopt sympy networkx"
7985
]
8086
},
8187
{
@@ -563,7 +569,7 @@
563569
],
564570
"metadata": {
565571
"kernelspec": {
566-
"display_name": "fire",
572+
"display_name": ".venv (3.11.15)",
567573
"language": "python",
568574
"name": "python3"
569575
},
@@ -577,7 +583,7 @@
577583
"name": "python",
578584
"nbconvert_exporter": "python",
579585
"pygments_lexer": "ipython3",
580-
"version": "3.11.13"
586+
"version": "3.11.15"
581587
}
582588
},
583589
"nbformat": 4,

0 commit comments

Comments
 (0)