Skip to content

Commit

Permalink
add pip install supermarq to qcvv notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat-thotakura committed Aug 28, 2024
1 parent 8798986 commit ceb41a8
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/source/apps/supermarq/qcvv/qcvv_css.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,21 @@
"from __future__ import annotations"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"try:\n",
" import supermarq\n",
"except ImportError:\n",
" print(\"Installing supermarq...\")\n",
" %pip install --quiet supermarq\n",
" print(\"Installed supermarq.\")\n",
" print(\"You may need to restart the kernel to import newly installed packages.\")"
]
},
{
"cell_type": "code",
"execution_count": 5,
Expand Down
15 changes: 15 additions & 0 deletions docs/source/apps/supermarq/qcvv/qcvv_xeb_css.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,21 @@
"two qubit gates."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"try:\n",
" import supermarq\n",
"except ImportError:\n",
" print(\"Installing supermarq...\")\n",
" %pip install --quiet supermarq\n",
" print(\"Installed supermarq.\")\n",
" print(\"You may need to restart the kernel to import newly installed packages.\")"
]
},
{
"cell_type": "code",
"execution_count": 7,
Expand Down

0 comments on commit ceb41a8

Please sign in to comment.