diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3242bc4..3966287 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -47,5 +47,6 @@ jobs: GH_TOKEN: ${{ secrets.GH_TOKEN }} GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }} run: | - pdm run mike deploy --force --push -F ${GITHUB_WORKSPACE}/docs/mkdocs.yml latest - pdm run mike set-default --push -F ${GITHUB_WORKSPACE}/docs/mkdocs.yml latest + python3 -m ensurepip + version=$(python3 -m pip freeze | grep -n "bloqade" | cut -d "=" -f3-) + pdm run mike deploy --push --update-alias $version latest diff --git a/docs/docs/assets/data/MIS-UDG-job.json b/docs/assets/data/MIS-UDG-job.json similarity index 100% rename from docs/docs/assets/data/MIS-UDG-job.json rename to docs/assets/data/MIS-UDG-job.json diff --git a/docs/docs/assets/data/floquet-emulation.json b/docs/assets/data/floquet-emulation.json similarity index 100% rename from docs/docs/assets/data/floquet-emulation.json rename to docs/assets/data/floquet-emulation.json diff --git a/docs/docs/assets/data/floquet-job.json b/docs/assets/data/floquet-job.json similarity index 100% rename from docs/docs/assets/data/floquet-job.json rename to docs/assets/data/floquet-job.json diff --git a/docs/docs/assets/data/multi-qubit-blockaded-emulation.json b/docs/assets/data/multi-qubit-blockaded-emulation.json similarity index 100% rename from docs/docs/assets/data/multi-qubit-blockaded-emulation.json rename to docs/assets/data/multi-qubit-blockaded-emulation.json diff --git a/docs/docs/assets/data/multi-qubit-blockaded-job.json b/docs/assets/data/multi-qubit-blockaded-job.json similarity index 100% rename from docs/docs/assets/data/multi-qubit-blockaded-job.json rename to docs/assets/data/multi-qubit-blockaded-job.json diff --git a/docs/docs/assets/data/nonequilibrium-dynamics-blockade-emulation.json b/docs/assets/data/nonequilibrium-dynamics-blockade-emulation.json similarity index 100% rename from docs/docs/assets/data/nonequilibrium-dynamics-blockade-emulation.json rename to docs/assets/data/nonequilibrium-dynamics-blockade-emulation.json diff --git a/docs/docs/assets/data/nonequilibrium-dynamics-blockade-job.json b/docs/assets/data/nonequilibrium-dynamics-blockade-job.json similarity index 100% rename from docs/docs/assets/data/nonequilibrium-dynamics-blockade-job.json rename to docs/assets/data/nonequilibrium-dynamics-blockade-job.json diff --git a/docs/docs/assets/data/old/floquet-job.json.old b/docs/assets/data/old/floquet-job.json.old similarity index 100% rename from docs/docs/assets/data/old/floquet-job.json.old rename to docs/assets/data/old/floquet-job.json.old diff --git a/docs/docs/assets/data/old/multi-qubit-blockaded.json.old b/docs/assets/data/old/multi-qubit-blockaded.json.old similarity index 100% rename from docs/docs/assets/data/old/multi-qubit-blockaded.json.old rename to docs/assets/data/old/multi-qubit-blockaded.json.old diff --git a/docs/docs/assets/data/old/nonequilibrium-dynamics-blockade.json.old b/docs/assets/data/old/nonequilibrium-dynamics-blockade.json.old similarity index 100% rename from docs/docs/assets/data/old/nonequilibrium-dynamics-blockade.json.old rename to docs/assets/data/old/nonequilibrium-dynamics-blockade.json.old diff --git a/docs/docs/assets/data/old/quantum-scar-dynamics-job.json b/docs/assets/data/old/quantum-scar-dynamics-job.json similarity index 100% rename from docs/docs/assets/data/old/quantum-scar-dynamics-job.json rename to docs/assets/data/old/quantum-scar-dynamics-job.json diff --git a/docs/docs/assets/data/old/rabi-job.json.old b/docs/assets/data/old/rabi-job.json.old similarity index 100% rename from docs/docs/assets/data/old/rabi-job.json.old rename to docs/assets/data/old/rabi-job.json.old diff --git a/docs/docs/assets/data/old/ramsey-job.json.old b/docs/assets/data/old/ramsey-job.json.old similarity index 100% rename from docs/docs/assets/data/old/ramsey-job.json.old rename to docs/assets/data/old/ramsey-job.json.old diff --git a/docs/docs/assets/data/old/two-qubit-adiabatic.json.old b/docs/assets/data/old/two-qubit-adiabatic.json.old similarity index 100% rename from docs/docs/assets/data/old/two-qubit-adiabatic.json.old rename to docs/assets/data/old/two-qubit-adiabatic.json.old diff --git a/docs/docs/assets/data/quantum-scar-dynamics-emulation.json b/docs/assets/data/quantum-scar-dynamics-emulation.json similarity index 100% rename from docs/docs/assets/data/quantum-scar-dynamics-emulation.json rename to docs/assets/data/quantum-scar-dynamics-emulation.json diff --git a/docs/docs/assets/data/quantum-scar-dynamics-job.json b/docs/assets/data/quantum-scar-dynamics-job.json similarity index 100% rename from docs/docs/assets/data/quantum-scar-dynamics-job.json rename to docs/assets/data/quantum-scar-dynamics-job.json diff --git a/docs/docs/assets/data/rabi-emulation.json b/docs/assets/data/rabi-emulation.json similarity index 100% rename from docs/docs/assets/data/rabi-emulation.json rename to docs/assets/data/rabi-emulation.json diff --git a/docs/docs/assets/data/rabi-job.json b/docs/assets/data/rabi-job.json similarity index 100% rename from docs/docs/assets/data/rabi-job.json rename to docs/assets/data/rabi-job.json diff --git a/docs/docs/assets/data/ramsey-emulation.json b/docs/assets/data/ramsey-emulation.json similarity index 100% rename from docs/docs/assets/data/ramsey-emulation.json rename to docs/assets/data/ramsey-emulation.json diff --git a/docs/docs/assets/data/ramsey-job.json b/docs/assets/data/ramsey-job.json similarity index 100% rename from docs/docs/assets/data/ramsey-job.json rename to docs/assets/data/ramsey-job.json diff --git a/docs/docs/assets/data/striated-phase-emulation.json b/docs/assets/data/striated-phase-emulation.json similarity index 100% rename from docs/docs/assets/data/striated-phase-emulation.json rename to docs/assets/data/striated-phase-emulation.json diff --git a/docs/docs/assets/data/striated-phase-hardware.json b/docs/assets/data/striated-phase-hardware.json similarity index 100% rename from docs/docs/assets/data/striated-phase-hardware.json rename to docs/assets/data/striated-phase-hardware.json diff --git a/docs/docs/assets/data/time-sweep-emulation.json b/docs/assets/data/time-sweep-emulation.json similarity index 100% rename from docs/docs/assets/data/time-sweep-emulation.json rename to docs/assets/data/time-sweep-emulation.json diff --git a/docs/docs/assets/data/time-sweep-job.json b/docs/assets/data/time-sweep-job.json similarity index 100% rename from docs/docs/assets/data/time-sweep-job.json rename to docs/assets/data/time-sweep-job.json diff --git a/docs/docs/assets/data/two-qubit-adiabatic-emulation.json b/docs/assets/data/two-qubit-adiabatic-emulation.json similarity index 100% rename from docs/docs/assets/data/two-qubit-adiabatic-emulation.json rename to docs/assets/data/two-qubit-adiabatic-emulation.json diff --git a/docs/docs/assets/data/two-qubit-adiabatic-job.json b/docs/assets/data/two-qubit-adiabatic-job.json similarity index 100% rename from docs/docs/assets/data/two-qubit-adiabatic-job.json rename to docs/assets/data/two-qubit-adiabatic-job.json diff --git a/docs/docs/assets/favicon.ico b/docs/assets/favicon.ico similarity index 100% rename from docs/docs/assets/favicon.ico rename to docs/assets/favicon.ico diff --git a/docs/docs/assets/logo-dark.png b/docs/assets/logo-dark.png similarity index 100% rename from docs/docs/assets/logo-dark.png rename to docs/assets/logo-dark.png diff --git a/docs/docs/assets/logo-dark.svg b/docs/assets/logo-dark.svg similarity index 100% rename from docs/docs/assets/logo-dark.svg rename to docs/assets/logo-dark.svg diff --git a/docs/docs/assets/logo.png b/docs/assets/logo.png similarity index 100% rename from docs/docs/assets/logo.png rename to docs/assets/logo.png diff --git a/docs/docs/assets/logo.svg b/docs/assets/logo.svg similarity index 100% rename from docs/docs/assets/logo.svg rename to docs/assets/logo.svg diff --git a/docs/docs/examples/example-1-floquet.py b/docs/examples/example-1-floquet.py similarity index 100% rename from docs/docs/examples/example-1-floquet.py rename to docs/examples/example-1-floquet.py diff --git a/docs/docs/examples/example-1-rabi.py b/docs/examples/example-1-rabi.py similarity index 100% rename from docs/docs/examples/example-1-rabi.py rename to docs/examples/example-1-rabi.py diff --git a/docs/docs/examples/example-1-ramsey.py b/docs/examples/example-1-ramsey.py similarity index 100% rename from docs/docs/examples/example-1-ramsey.py rename to docs/examples/example-1-ramsey.py diff --git a/docs/docs/examples/example-2-multi-qubit-blockaded.py b/docs/examples/example-2-multi-qubit-blockaded.py similarity index 100% rename from docs/docs/examples/example-2-multi-qubit-blockaded.py rename to docs/examples/example-2-multi-qubit-blockaded.py diff --git a/docs/docs/examples/example-2-nonequilibrium-dynamics-blockade-radius.py b/docs/examples/example-2-nonequilibrium-dynamics-blockade-radius.py similarity index 100% rename from docs/docs/examples/example-2-nonequilibrium-dynamics-blockade-radius.py rename to docs/examples/example-2-nonequilibrium-dynamics-blockade-radius.py diff --git a/docs/docs/examples/example-2-two-qubit-adiabatic.py b/docs/examples/example-2-two-qubit-adiabatic.py similarity index 100% rename from docs/docs/examples/example-2-two-qubit-adiabatic.py rename to docs/examples/example-2-two-qubit-adiabatic.py diff --git a/docs/docs/examples/example-3-2d-ordered-state.py b/docs/examples/example-3-2d-ordered-state.py similarity index 100% rename from docs/docs/examples/example-3-2d-ordered-state.py rename to docs/examples/example-3-2d-ordered-state.py diff --git a/docs/docs/examples/example-3-time-sweep.py b/docs/examples/example-3-time-sweep.py similarity index 100% rename from docs/docs/examples/example-3-time-sweep.py rename to docs/examples/example-3-time-sweep.py diff --git a/docs/docs/examples/example-4-quantum-scar-dynamics.py b/docs/examples/example-4-quantum-scar-dynamics.py similarity index 100% rename from docs/docs/examples/example-4-quantum-scar-dynamics.py rename to docs/examples/example-4-quantum-scar-dynamics.py diff --git a/docs/docs/examples/example-5-MIS-UDG.py b/docs/examples/example-5-MIS-UDG.py similarity index 100% rename from docs/docs/examples/example-5-MIS-UDG.py rename to docs/examples/example-5-MIS-UDG.py diff --git a/docs/docs/index.md b/docs/index.md similarity index 100% rename from docs/docs/index.md rename to docs/index.md diff --git a/docs/mkdocs_old.yml b/docs/mkdocs_old.yml deleted file mode 100644 index 2ab5269..0000000 --- a/docs/mkdocs_old.yml +++ /dev/null @@ -1,162 +0,0 @@ -site_name: The Neutral Atom SDK -site_url: https://bloqade.quera.com -site_description: >- - The neutral atom computing software development kit. - -repo_name: bloqade-python-examples -repo_url: https://github.com/QuEraComputing/bloqade-python-examples - -# Page tree -nav: - - Tutorials: - - examples/adiabatic.py - - examples/multi-qubit-blockaded-rabi.py - - examples/rabi.py - - examples/ramsey.py - - examples/floquet.py - - examples/example-2-lp-gate.py - - examples/example-3-2d-ordered-state.py - - examples/example-3-time-sweep.py - - examples/example-4-quantum-scar-dynamics.py - - examples/example-5-MIS-UDG.py - - - bloqade-python Github: - - https://github.com/QuEraComputing/bloqade-python - - - Home: - - https://literate-guacamole-35n48l9.pages.github.io/dev/ - -copyright: Copyright © 2022 - QuEra Computing Inc. -theme: - name: material - custom_dir: overrides - features: - - announce.dismiss - - content.action.edit - - content.action.view - - content.code.annotate - - content.code.copy - # - content.tabs.link - - content.tooltips - # - header.autohide - # - navigation.expand - - navigation.footer - - navigation.indexes - # - navigation.instant - # - navigation.prune - - navigation.sections - - navigation.tabs - # - navigation.tabs.sticky - - navigation.top - - navigation.tracking - - search.highlight - - search.share - - search.suggest - - toc.follow - palette: - - scheme: default - primary: custom - accent: custom - toggle: - icon: material/brightness-7 - name: Switch to dark mode - - scheme: slate - primary: custom - accent: custom - toggle: - icon: material/brightness-4 - name: Switch to light mode - favicon: assets/favicon.ico - logo: assets/logo-dark.png - font: - text: Lato -extra_css: - - stylesheets/extra.css - -plugins: - - search: - separator: '[\s\-,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])' - #- gen-files: - # scripts: - # - scripts/gen_ref_nav.py - - literate-nav: - nav_file: SUMMARY.txt - #- mkdocstrings: - # handlers: - # python: - # paths: [../src] - # options: - # show_if_no_docstring: false - # separate_signature: true - # merge_init_into_class: true - # docstring_options: - # ignore_init_summary: true - - minify: - minify_html: true - - mkdocs-jupyter: - include: ["*.py"] # only include scripts - ignore: ["*.ipynb"] - execute: true # always execute - include_source: True - - mike - -extra: - version: - provider: mike - annotate: - json: [.s2] - analytics: - provider: google - property: !ENV GOOGLE_ANALYTICS_KEY - social: - - icon: fontawesome/brands/github - link: https://github.com/QuEraComputing/bloqade-python - - icon: fontawesome/brands/python - link: https://pypi.org/project/bloqade/ - # TODO: make a mastodon account! - # - icon: fontawesome/brands/mastodon - # link: https://fosstodon.org/@squidfunk - - icon: fontawesome/brands/twitter - link: https://twitter.com/QueraComputing - -# Extensions -markdown_extensions: - - abbr - - admonition - - attr_list - - def_list - - footnotes - - md_in_html - - toc: - permalink: true - - pymdownx.arithmatex: - generic: true - - pymdownx.betterem: - smart_enable: all - - pymdownx.caret - - pymdownx.details - - pymdownx.emoji: - emoji_generator: !!python/name:materialx.emoji.to_svg - emoji_index: !!python/name:materialx.emoji.twemoji - - pymdownx.highlight: - anchor_linenums: true - line_spans: __span - pygments_lang_class: true - - pymdownx.inlinehilite - - pymdownx.keys - - pymdownx.magiclink: - repo_url_shorthand: true - user: squidfunk - repo: mkdocs-material - - pymdownx.mark - - pymdownx.smartsymbols - - pymdownx.superfences: - custom_fences: - - name: mermaid - class: mermaid - format: !!python/name:pymdownx.superfences.fence_code_format - - pymdownx.tabbed: - alternate_style: true - - pymdownx.tasklist: - custom_checkbox: true - - pymdownx.tilde diff --git a/docs/docs/stylesheets/extra.css b/docs/stylesheets/extra.css similarity index 100% rename from docs/docs/stylesheets/extra.css rename to docs/stylesheets/extra.css diff --git a/docs/mkdocs.yml b/mkdocs.yml similarity index 97% rename from docs/mkdocs.yml rename to mkdocs.yml index bcfa7f1..4f9c5aa 100644 --- a/docs/mkdocs.yml +++ b/mkdocs.yml @@ -21,7 +21,7 @@ nav: copyright: Copyright © 2023 - QuEra Computing Inc. theme: name: material - custom_dir: overrides + custom_dir: docs/overrides features: - announce.dismiss - content.action.edit @@ -70,13 +70,13 @@ plugins: separator: '[\s\-,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])' - gen-files: scripts: - - scripts/gen_ref_nav.py + - docs/scripts/gen_ref_nav.py - literate-nav: nav_file: SUMMARY.txt - mkdocstrings: handlers: python: - paths: [../src] + paths: [src] options: show_if_no_docstring: false separate_signature: true @@ -95,7 +95,7 @@ plugins: # "example-4-*", # "example-5-*", ] - execute: true # always execute + execute: false # always execute include_source: true - mike diff --git a/overrides/main.html b/overrides/main.html deleted file mode 100644 index 702c96b..0000000 --- a/overrides/main.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -{% if page.nb_url %} - - {% include ".icons/material/download.svg" %} - -{% endif %} - -{{ super() }} -{% endblock content %} diff --git a/pdm.lock b/pdm.lock index fead0af..c1ea9b4 100644 --- a/pdm.lock +++ b/pdm.lock @@ -287,7 +287,7 @@ files = [ [[package]] name = "bloqade" -version = "0.6.0" +version = "0.7.2" requires_python = ">=3.9" summary = "Neutral atom software development kit" dependencies = [ @@ -295,6 +295,7 @@ dependencies = [ "beartype>=0.15.0", "bokeh>=3.2.2", "juliacall>=0.9.14", + "numba>=0.58.0", "numpy>=1.25.2", "pandas>=2.1.0", "plotext>=5.2.8", @@ -306,8 +307,8 @@ dependencies = [ "tabulate>=0.9.0", ] files = [ - {file = "bloqade-0.6.0-py3-none-any.whl", hash = "sha256:49c7209ca124c5c6d6c87955e42d552eb94df865abe938580a010b46886b0237"}, - {file = "bloqade-0.6.0.tar.gz", hash = "sha256:8ac293bc96db7d731d0ac7c98acd6847432e3ff56124274d704b5e133d580184"}, + {file = "bloqade-0.7.2-py3-none-any.whl", hash = "sha256:2f304e8f76aac74b47567b0c651821f41cee9bbf3e6c9d30f1a8bd4900791534"}, + {file = "bloqade-0.7.2.tar.gz", hash = "sha256:9808c33a09fa806110eb68e4bafe2d9af72b88d847eed4da086ed675f3736378"}, ] [[package]] @@ -1394,6 +1395,26 @@ files = [ {file = "kiwisolver-1.4.5.tar.gz", hash = "sha256:e57e563a57fb22a142da34f38acc2fc1a5c864bc29ca1517a88abc963e60d6ec"}, ] +[[package]] +name = "llvmlite" +version = "0.41.0" +requires_python = ">=3.8" +summary = "lightweight wrapper around basic LLVM functionality" +files = [ + {file = "llvmlite-0.41.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:acc81c1279f858e5eab460844cc381e30d6666bc8eea04724b54d4eeb1fd1e54"}, + {file = "llvmlite-0.41.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:013000a11df84a8b5e4f7fbf2513896ca48441c527d9ae8e375da92bc5575d08"}, + {file = "llvmlite-0.41.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f1b5df30581eb8dbdee0e17a1217debb1d7dcd61a092a09726afff441dad5a67"}, + {file = "llvmlite-0.41.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fe265129ecd18957d3653cfb17df1632fa2c57fd0bac1960bc20a8c3ca961197"}, + {file = "llvmlite-0.41.0-cp310-cp310-win32.whl", hash = "sha256:6e477d23afbdddb3dde789d29a771e23bcfa1b12485156370dba9df05d529d94"}, + {file = "llvmlite-0.41.0-cp310-cp310-win_amd64.whl", hash = "sha256:93ce07a0a6d98ff2fcc34e7d2d315d8d09f6a737539e089f1a8cbe4a3a0313bf"}, + {file = "llvmlite-0.41.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:dabfb1a28d26b8c01228f59aec90a61324203dda6b1465c596d577d6380545e8"}, + {file = "llvmlite-0.41.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:741bb2ab7712c4763483189f0684163fb3ac44087c617698c50654c7d7ab6a24"}, + {file = "llvmlite-0.41.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f7b7022f1e2f652722ddd5697987f1aeaf0c9a64f2ee324e03f6e060b28a1bbd"}, + {file = "llvmlite-0.41.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70feadac822f8840f2db6cbb662f1b349fe5d375d8ceb9c907f3919e005dc705"}, + {file = "llvmlite-0.41.0-cp311-cp311-win_amd64.whl", hash = "sha256:21191c6a9fb4a86d71ec72debbaf39db49590a950c8a2a4ac792c41d16b0a61a"}, + {file = "llvmlite-0.41.0.tar.gz", hash = "sha256:7d41db345d76d2dfa31871178ce0d8e9fd8aa015aa1b7d4dab84b5cb393901e0"}, +] + [[package]] name = "markdown" version = "3.4.4" @@ -1612,7 +1633,7 @@ files = [ [[package]] name = "mkdocs-jupyter" -version = "0.24.5" +version = "0.24.6" requires_python = ">=3.9" summary = "Use Jupyter in mkdocs websites" dependencies = [ @@ -1624,8 +1645,8 @@ dependencies = [ "pygments>2.12.0", ] files = [ - {file = "mkdocs_jupyter-0.24.5-py3-none-any.whl", hash = "sha256:e8b9c5f3988004372ba2f95c4a70e2125f9c85b1e8ee2b2afc7879f7b3632c88"}, - {file = "mkdocs_jupyter-0.24.5.tar.gz", hash = "sha256:fa7804879a627702497e2afaea40a3db1cbdd2a3aba0e4417782dd24ca899bb3"}, + {file = "mkdocs_jupyter-0.24.6-py3-none-any.whl", hash = "sha256:56fb7ad796f2414a4143d54a966b805caf315c32413e97f85591623fa87dceca"}, + {file = "mkdocs_jupyter-0.24.6.tar.gz", hash = "sha256:89fcbe8a9523864d5416de1a60711640b6bc2972279d2adf46ed2776c2d9ff7c"}, ] [[package]] @@ -1643,7 +1664,7 @@ files = [ [[package]] name = "mkdocs-material" -version = "9.4.3" +version = "9.4.6" requires_python = ">=3.8" summary = "Documentation that simply works" dependencies = [ @@ -1660,8 +1681,8 @@ dependencies = [ "requests~=2.26", ] files = [ - {file = "mkdocs_material-9.4.3-py3-none-any.whl", hash = "sha256:3274a47a4e55a541b25bd8fa4937cf3f3c82a51763453511661e0052062758b9"}, - {file = "mkdocs_material-9.4.3.tar.gz", hash = "sha256:5c9abc3f6ba8f88be1f9f13df23d695ca4dddbdd8a3538e4e6279c055c3936bc"}, + {file = "mkdocs_material-9.4.6-py3-none-any.whl", hash = "sha256:78802035d5768a78139c84ad7dce0c6493e8f7dc4861727d36ed91d1520a54da"}, + {file = "mkdocs_material-9.4.6.tar.gz", hash = "sha256:09665e60df7ee9e5ff3a54af173f6d45be718b1ee7dd962bcff3102b81fb0c14"}, ] [[package]] @@ -1797,7 +1818,7 @@ files = [ [[package]] name = "mypy" -version = "1.5.1" +version = "1.6.0" requires_python = ">=3.8" summary = "Optional static typing for Python" dependencies = [ @@ -1806,23 +1827,23 @@ dependencies = [ "typing-extensions>=4.1.0", ] files = [ - {file = "mypy-1.5.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:f33592ddf9655a4894aef22d134de7393e95fcbdc2d15c1ab65828eee5c66c70"}, - {file = "mypy-1.5.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:258b22210a4a258ccd077426c7a181d789d1121aca6db73a83f79372f5569ae0"}, - {file = "mypy-1.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a9ec1f695f0c25986e6f7f8778e5ce61659063268836a38c951200c57479cc12"}, - {file = "mypy-1.5.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:abed92d9c8f08643c7d831300b739562b0a6c9fcb028d211134fc9ab20ccad5d"}, - {file = "mypy-1.5.1-cp310-cp310-win_amd64.whl", hash = "sha256:a156e6390944c265eb56afa67c74c0636f10283429171018446b732f1a05af25"}, - {file = "mypy-1.5.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6ac9c21bfe7bc9f7f1b6fae441746e6a106e48fc9de530dea29e8cd37a2c0cc4"}, - {file = "mypy-1.5.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:51cb1323064b1099e177098cb939eab2da42fea5d818d40113957ec954fc85f4"}, - {file = "mypy-1.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:596fae69f2bfcb7305808c75c00f81fe2829b6236eadda536f00610ac5ec2243"}, - {file = "mypy-1.5.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:32cb59609b0534f0bd67faebb6e022fe534bdb0e2ecab4290d683d248be1b275"}, - {file = "mypy-1.5.1-cp311-cp311-win_amd64.whl", hash = "sha256:159aa9acb16086b79bbb0016145034a1a05360626046a929f84579ce1666b315"}, - {file = "mypy-1.5.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:f6b0e77db9ff4fda74de7df13f30016a0a663928d669c9f2c057048ba44f09bb"}, - {file = "mypy-1.5.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:26f71b535dfc158a71264e6dc805a9f8d2e60b67215ca0bfa26e2e1aa4d4d373"}, - {file = "mypy-1.5.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2fc3a600f749b1008cc75e02b6fb3d4db8dbcca2d733030fe7a3b3502902f161"}, - {file = "mypy-1.5.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:26fb32e4d4afa205b24bf645eddfbb36a1e17e995c5c99d6d00edb24b693406a"}, - {file = "mypy-1.5.1-cp312-cp312-win_amd64.whl", hash = "sha256:82cb6193de9bbb3844bab4c7cf80e6227d5225cc7625b068a06d005d861ad5f1"}, - {file = "mypy-1.5.1-py3-none-any.whl", hash = "sha256:f757063a83970d67c444f6e01d9550a7402322af3557ce7630d3c957386fa8f5"}, - {file = "mypy-1.5.1.tar.gz", hash = "sha256:b031b9601f1060bf1281feab89697324726ba0c0bae9d7cd7ab4b690940f0b92"}, + {file = "mypy-1.6.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:091f53ff88cb093dcc33c29eee522c087a438df65eb92acd371161c1f4380ff0"}, + {file = "mypy-1.6.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:eb7ff4007865833c470a601498ba30462b7374342580e2346bf7884557e40531"}, + {file = "mypy-1.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:49499cf1e464f533fc45be54d20a6351a312f96ae7892d8e9f1708140e27ce41"}, + {file = "mypy-1.6.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:4c192445899c69f07874dabda7e931b0cc811ea055bf82c1ababf358b9b2a72c"}, + {file = "mypy-1.6.0-cp310-cp310-win_amd64.whl", hash = "sha256:3df87094028e52766b0a59a3e46481bb98b27986ed6ded6a6cc35ecc75bb9182"}, + {file = "mypy-1.6.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3c8835a07b8442da900db47ccfda76c92c69c3a575872a5b764332c4bacb5a0a"}, + {file = "mypy-1.6.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:24f3de8b9e7021cd794ad9dfbf2e9fe3f069ff5e28cb57af6f873ffec1cb0425"}, + {file = "mypy-1.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:856bad61ebc7d21dbc019b719e98303dc6256cec6dcc9ebb0b214b81d6901bd8"}, + {file = "mypy-1.6.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:89513ddfda06b5c8ebd64f026d20a61ef264e89125dc82633f3c34eeb50e7d60"}, + {file = "mypy-1.6.0-cp311-cp311-win_amd64.whl", hash = "sha256:9f8464ed410ada641c29f5de3e6716cbdd4f460b31cf755b2af52f2d5ea79ead"}, + {file = "mypy-1.6.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:971104bcb180e4fed0d7bd85504c9036346ab44b7416c75dd93b5c8c6bb7e28f"}, + {file = "mypy-1.6.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ab98b8f6fdf669711f3abe83a745f67f50e3cbaea3998b90e8608d2b459fd566"}, + {file = "mypy-1.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1a69db3018b87b3e6e9dd28970f983ea6c933800c9edf8c503c3135b3274d5ad"}, + {file = "mypy-1.6.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:dccd850a2e3863891871c9e16c54c742dba5470f5120ffed8152956e9e0a5e13"}, + {file = "mypy-1.6.0-cp312-cp312-win_amd64.whl", hash = "sha256:f8598307150b5722854f035d2e70a1ad9cc3c72d392c34fffd8c66d888c90f17"}, + {file = "mypy-1.6.0-py3-none-any.whl", hash = "sha256:9e1589ca150a51d9d00bb839bfeca2f7a04f32cd62fad87a847bc0818e15d7dc"}, + {file = "mypy-1.6.0.tar.gz", hash = "sha256:4f3d27537abde1be6d5f2c96c29a454da333a2a271ae7d5bc7110e6d4b7beb3f"}, ] [[package]] @@ -1957,6 +1978,29 @@ files = [ {file = "notebook_shim-0.2.3.tar.gz", hash = "sha256:f69388ac283ae008cd506dda10d0288b09a017d822d5e8c7129a152cbd3ce7e9"}, ] +[[package]] +name = "numba" +version = "0.58.0" +requires_python = ">=3.8" +summary = "compiling Python code using LLVM" +dependencies = [ + "llvmlite<0.42,>=0.41.0dev0", + "numpy<1.26,>=1.21", +] +files = [ + {file = "numba-0.58.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:2f146c11af62ad25021d93fccf48715a96d1ea76d43c1c3bc97dca561c6a2693"}, + {file = "numba-0.58.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8059ee491651885f89655f08856a107aa610e3355b373f3b7437f1da96f09703"}, + {file = "numba-0.58.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:8bd9edd27ab29e80bcf4083f9955c4a8871075a13a370b3bef99f81e184541fa"}, + {file = "numba-0.58.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7ee9f5fd962e0ada0e68df67a6ff881f95b45e0ae7cb96141e913337040d490b"}, + {file = "numba-0.58.0-cp310-cp310-win_amd64.whl", hash = "sha256:398ab539257df8e980ec2f9cdfae836bb965fadc2dd30db3fcfbf3aefa542836"}, + {file = "numba-0.58.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:e61a1fa0ab7d290f0a43d8523b372f96765db6ceb6a691660c17e9ed609cb470"}, + {file = "numba-0.58.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:8a9b69cc6259131791822c5eb893b03cd9372f4aae669d020500565b6d5d80bc"}, + {file = "numba-0.58.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:e7b42b23c36cf08fcfe1a8f2acf3a0af95b41f9ee07fc81b28d7b9b5ada85d8c"}, + {file = "numba-0.58.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0d7a5e81e4047a23986f816b48ac46616ceb4eadbff6bbe739944d36b3bdbfe7"}, + {file = "numba-0.58.0-cp311-cp311-win_amd64.whl", hash = "sha256:0ce322178ff7006b7f50dad25b042ef64c6393f2fafafa79c0498d789b1aac27"}, + {file = "numba-0.58.0.tar.gz", hash = "sha256:e5d5a318dc65a101ef846d7fd93f3cf2f7942494019e8342e51238b360739125"}, +] + [[package]] name = "numpy" version = "1.25.2" @@ -2257,7 +2301,7 @@ files = [ [[package]] name = "pre-commit" -version = "3.4.0" +version = "3.5.0" requires_python = ">=3.8" summary = "A framework for managing and maintaining multi-language pre-commit hooks." dependencies = [ @@ -2268,8 +2312,8 @@ dependencies = [ "virtualenv>=20.10.0", ] files = [ - {file = "pre_commit-3.4.0-py2.py3-none-any.whl", hash = "sha256:96d529a951f8b677f730a7212442027e8ba53f9b04d217c4c67dc56c393ad945"}, - {file = "pre_commit-3.4.0.tar.gz", hash = "sha256:6bbd5129a64cad4c0dfaeeb12cd8f7ea7e15b77028d985341478c8af3c759522"}, + {file = "pre_commit-3.5.0-py2.py3-none-any.whl", hash = "sha256:841dc9aef25daba9a0238cd27984041fa0467b4199fc4852e27950664919f660"}, + {file = "pre_commit-3.5.0.tar.gz", hash = "sha256:5804465c675b659b0862f07907f96295d490822a450c4c40e747d0b1c6ebcb32"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index f1bc4d8..ac6749a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,7 +77,7 @@ publish = {composite = ["build", "upload"]} test = {shell = "git clean -f && pytest tests docs/examples/*.py"} coverage = {shell = "git clean -f && coverage run -m pytest tests/ docs/examples/*.py && coverage report"} coverage-html = {shell = "git clean -f && coverage run -m pytest tests/ docs/examples/*.py && coverage html"} -doc = {cmd = "mkdocs serve -f docs/mkdocs.yml"} +doc = {cmd = "mkdocs serve"} doc_build = {cmd = "mkdocs build"} doc_deploy = {cmd = "pdm mike deploy --push --update-aliases dev"} jupytext = {cmd = "jupytext --sync docs/examples/*.py"} diff --git a/test.py b/test.py new file mode 100644 index 0000000..fbf516d --- /dev/null +++ b/test.py @@ -0,0 +1,7 @@ +from bloqade import load, save + +file = "data/quantum-scar-dynamics-job.json" +obj = load(file) +obj.fetch() + +save(obj, "data/quantum-scar-dynamics-job.json") \ No newline at end of file