Skip to content

Commit

Permalink
feat: Migrate notebooks to Qiskit 1.0+
Browse files Browse the repository at this point in the history
- Update requirements to use the Qiskit Alice & Bob provider pre-release 1.0
- Update notebooks to be compatible with the signatures of Qiskit 1.0+
- Cleanup unused import in notebooks
- Format cells in notebooks
  • Loading branch information
Maxence Drutel authored and MaxleDrut committed Aug 2, 2024
1 parent a821c67 commit bacf8be
Show file tree
Hide file tree
Showing 8 changed files with 1,024 additions and 2,801 deletions.

Large diffs are not rendered by default.

1,917 changes: 470 additions & 1,447 deletions samples/1_hardware_experiments/2 - Boson 4 tutorial.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

159 changes: 28 additions & 131 deletions samples/2_algorithms/1 - Grover's algorithm on logical cat qubits.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

156 changes: 133 additions & 23 deletions samples/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,36 +1,79 @@
annotated-types==0.6.0
anyio==4.0.0
appnope==0.1.4
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asgiref==3.8.1
astroid==2.15.8
asttokens==2.4.1
async-lru==2.0.4
async-property==0.2.2
attrs==23.1.0
Babel==2.13.1
backports.tarfile==1.2.0
beautifulsoup4==4.12.2
black==23.1.0
bleach==6.1.0
blinker==1.7.0
build==0.10.0
certifi==2023.7.22
cffi==1.16.0
cfgv==3.4.0
charset-normalizer==3.3.2
click==8.1.7
codespell==2.2.2
colorama==0.4.6
comm==0.2.0
connexion==3.0.6
contourpy==1.2.0
coverage==7.2.2
cryptography==42.0.8
cycler==0.12.1
Cython==3.0.9
debugpy==1.8.0
decorator==5.1.1
defusedxml==0.7.1
deprecation==2.1.0
dill==0.3.7
distlib==0.3.8
dnspython==2.6.1
docplex==2.27.239
docutils==0.21.2
email_validator==2.2.0
exceptiongroup==1.1.3
executing==2.0.1
fastapi==0.111.0
fastapi-cli==0.0.4
fastjsonschema==2.18.1
filelock==3.15.4
flake8==7.1.0
flake8-quotes==3.3.2
Flask==3.0.3
fonttools==4.44.0
fqdn==1.5.1
ghp-import==2.1.0
h11==0.14.0
httpcore==1.0.5
httptools==0.6.1
httpx==0.27.0
ibm-cloud-sdk-core==3.20.3
ibm-platform-services==0.55.1
identify==2.6.0
idna==3.4
importlib-metadata==6.8.0
importlib-resources==6.1.1
inflection==0.5.1
iniconfig==2.0.0
ipykernel==6.26.0
ipython==8.17.2
ipywidgets==8.1.1
isoduration==20.11.0
isort==5.13.2
itsdangerous==2.1.2
jaraco.classes==3.4.0
jaraco.context==5.3.0
jaraco.functools==4.0.1
jedi==0.19.1
Jinja2==3.1.2
joblib==1.3.2
Expand All @@ -39,100 +82,167 @@ jsonpointer==2.4
jsonschema==4.19.2
jsonschema-specifications==2023.7.1
jupyter==1.0.0
jupyter-client==8.6.0
jupyter-console==6.6.3
jupyter-core==5.5.0
jupyter-events==0.9.0
jupyter-lsp==2.2.0
jupyter-server==2.10.0
jupyter-server-terminals==0.4.4
jupyter_client==8.6.0
jupyter_core==5.5.0
jupyter_server==2.10.0
jupyter_server_terminals==0.4.4
jupyterlab==4.0.8
jupyterlab-pygments==0.2.2
jupyterlab-server==2.25.0
jupyterlab-widgets==3.0.9
jupyterlab_server==2.25.0
jwcrypto==1.5.6
keyring==25.2.1
kiwisolver==1.4.5
lazy-object-proxy==1.10.0
llvmlite==0.42.0
Markdown==3.6
markdown-it-py==3.0.0
MarkupSafe==2.1.3
matplotlib==3.8.0
matplotlib-inline==0.1.6
mccabe==0.7.0
mdurl==0.1.2
mergedeep==1.3.4
mistune==3.0.2
mkdocs==1.5.3
mkdocs-material==9.5.18
mkdocs-material-extensions==1.3.1
mock==5.1.0
more-itertools==10.3.0
mpmath==1.3.0
mypy==1.0.0
mypy-extensions==1.0.0
nbclient==0.8.0
nbconvert==7.11.0
nbformat==5.9.2
nest-asyncio==1.5.8
networkx==3.2.1
notebook==7.0.6
notebook-shim==0.2.3
nh3==0.2.18
nodeenv==1.9.1
numba==0.59.1
numpy==1.26.1
orjson==3.10.6
overrides==7.4.0
packaging==23.2
paginate==0.5.6
pandas==2.2.1
pandocfilters==1.5.0
parso==0.8.3
passlib==1.7.4
pathspec==0.12.1
pbr==5.11.1
pexpect==4.8.0
Pillow==10.1.0
pkginfo==1.10.0
platformdirs==3.11.0
pluggy==1.5.0
ply==3.11
pre-commit==3.7.1
prometheus-client==0.18.0
prompt-toolkit==3.0.39
psutil==5.9.6
ptyprocess==0.7.0
pure-eval==0.2.2
pybind11==2.11.1
pycodestyle==2.12.0
pycparser==2.21
pydantic==2.4.2
pydantic-core==2.10.1
pydantic==2.8.2
pydantic_core==2.20.1
pyflakes==3.2.0
Pygments==2.16.1
PyJWT==2.8.0
pylatexenc==2.10
pylint==2.16.1
PyMatching==2.1.0
pymdown-extensions==10.7.1
pyparsing==3.1.1
pyqir==0.8.0
pyproject_hooks==1.1.0
pyqir==0.10.3
pyspnego==0.11.1
pytest==7.2.1
python-dateutil==2.8.2
python-dotenv==1.0.1
python-json-logger==2.0.7
python-keycloak==4.2.0
python-multipart==0.0.9
pytz==2024.1
PyYAML==6.0.1
pyyaml_env_tag==0.1
pyzmq==25.1.1
qiskit==0.44.3
qiskit-aer==0.12.2
qiskit-algorithms==0.2.1
qiskit-alice-bob-provider==0.5.3
qiskit-qir-alice-bob-fork==0.3.2rc0
qiskit-terra==0.25.3
qiskit==1.1.1
qiskit-aer==0.14.2
qiskit-algorithms==0.3.0
qiskit-ibm-runtime==0.25.0
qiskit-qir-alice-bob-fork==0.5.0rc0
qiskit-alice-bob-provider==1.0.0rc0
qrisp==0.4.4
qtconsole==5.5.0
QtPy==2.4.1
readme_renderer==44.0
referencing==0.30.2
regex==2024.4.16
requests==2.31.0
retworkx==0.13.2
requests-mock==1.10.0
requests-toolbelt==1.0.0
requests_ntlm==1.3.0
retworkx==0.15.1
rfc3339-validator==0.1.4
rfc3986==2.0.0
rfc3986-validator==0.1.1
rich==13.7.1
rpds-py==0.12.0
rustworkx==0.13.2
rustworkx==0.15.1
scikit-learn==1.3.1
scipy==1.11.3
Send2Trash==1.8.2
shellingham==1.5.4
six==1.16.0
sniffio==1.3.0
soupsieve==2.5
stack-data==0.6.3
starlette==0.37.2
stevedore==5.1.0
symengine==0.9.2
symengine==0.11.0
sympy==1.12
tdqm==0.0.1
tenacity==8.2.3
terminado==0.17.1
threadpoolctl==3.2.0
thrift==0.20.0
tinycss2==1.2.1
tomli==2.0.1
tomlkit==0.13.0
tornado==6.3.3
tqdm==4.66.1
traitlets==5.13.0
tweedledum @ git+https://github.com/Alice-Bob-SW/[email protected]
traitlets==5.14.3
tweedledum @ git+https://github.com/Alice-Bob-SW/tweedledum@147da4eb145c4a10d66a902bc7e2c6b5a7475768
twine==5.1.1
typer==0.12.3
types-mock==5.1.0.0
types-python-dateutil==2.8.19.14
typing-extensions==4.8.0
types-requests==2.30.0.0
types-setuptools==70.0.0.20240524
types-urllib3==1.26.25.14
typing_extensions==4.8.0
tzdata==2024.1
ujson==5.10.0
uri-template==1.3.0
urllib3==2.0.7
urllib3==2.2.2
uvicorn==0.30.1
uvloop==0.19.0
virtualenv==20.26.3
waitress==3.0.0
watchdog==4.0.0
watchfiles==0.22.0
wcwidth==0.2.9
webcolors==1.13
webencodings==0.5.1
websocket-client==1.6.4
websockets==12.0
Werkzeug==3.0.2
widgetsnbextension==4.0.9
wrapt==1.16.0
zipp==3.17.0

0 comments on commit bacf8be

Please sign in to comment.