qubitlab 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- qubitlab/__init__.py +10 -0
- qubitlab/api.py +1005 -0
- qubitlab/architectures.py +94 -0
- qubitlab/cache.py +63 -0
- qubitlab/checks/__init__.py +10 -0
- qubitlab/checks/base.py +88 -0
- qubitlab/checks/cat_checks.py +180 -0
- qubitlab/checks/gate_checks.py +96 -0
- qubitlab/checks/qec_checks.py +67 -0
- qubitlab/checks/qubit_checks.py +178 -0
- qubitlab/checks/readout_checks.py +105 -0
- qubitlab/checks/transmon_checks.py +78 -0
- qubitlab/cli.py +47 -0
- qubitlab/data/architectures/dissipative_cat.toml +85 -0
- qubitlab/data/architectures/fluxonium.toml +90 -0
- qubitlab/data/architectures/kerr_cat.toml +87 -0
- qubitlab/data/architectures/tantalum_transmon.toml +98 -0
- qubitlab/data/architectures/tunable_coupler.toml +89 -0
- qubitlab/data/architectures/xmon.toml +113 -0
- qubitlab/data/checks.json +1039 -0
- qubitlab/data/presets.json +1174 -0
- qubitlab/data/references.bib +439 -0
- qubitlab/data/solves.json +911 -0
- qubitlab/explorer/assets/Architectures-DcTfzxdJ.js +1 -0
- qubitlab/explorer/assets/BlochSphere-CJsYSeis.js +1 -0
- qubitlab/explorer/assets/CatVsTransmon-BcKRlrLa.js +1 -0
- qubitlab/explorer/assets/Checks-DKPHk09b.js +1 -0
- qubitlab/explorer/assets/ErrorCorrection-Bc38WEhM.js +1 -0
- qubitlab/explorer/assets/FlipRates-vg0k9NKO.js +1 -0
- qubitlab/explorer/assets/Gates-DKxGRoII.js +1 -0
- qubitlab/explorer/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- qubitlab/explorer/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- qubitlab/explorer/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- qubitlab/explorer/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- qubitlab/explorer/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- qubitlab/explorer/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- qubitlab/explorer/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- qubitlab/explorer/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- qubitlab/explorer/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- qubitlab/explorer/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- qubitlab/explorer/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- qubitlab/explorer/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- qubitlab/explorer/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- qubitlab/explorer/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- qubitlab/explorer/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- qubitlab/explorer/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- qubitlab/explorer/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- qubitlab/explorer/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- qubitlab/explorer/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- qubitlab/explorer/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- qubitlab/explorer/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- qubitlab/explorer/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- qubitlab/explorer/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- qubitlab/explorer/assets/LabeledCanvas-GXQjA2d7.js +4231 -0
- qubitlab/explorer/assets/Line-C5drPxLz.js +409 -0
- qubitlab/explorer/assets/OrbitControls-6-M7L_Zr.js +1 -0
- qubitlab/explorer/assets/PhaseSpace-B_F05iw6.js +1 -0
- qubitlab/explorer/assets/Playground-fZbCkQcl.js +1 -0
- qubitlab/explorer/assets/Plot-kSaY_hzv.js +10 -0
- qubitlab/explorer/assets/PulseOptimizer-D4obO0PU.js +1 -0
- qubitlab/explorer/assets/Qubit-CdjcnjuF.js +1 -0
- qubitlab/explorer/assets/Readout-Dgp6RzZa.js +1 -0
- qubitlab/explorer/assets/Transmon-FnjHYyIh.js +1 -0
- qubitlab/explorer/assets/WignerSurface-DY9LOgVz.js +1 -0
- qubitlab/explorer/assets/index-C1xbob1O.js +267 -0
- qubitlab/explorer/assets/index-H2PQOnBm.css +1 -0
- qubitlab/explorer/assets/useDebounced-DL0FhXFg.js +1 -0
- qubitlab/explorer/favicon.svg +1 -0
- qubitlab/explorer/index.html +15 -0
- qubitlab/facts.py +147 -0
- qubitlab/provenance.py +60 -0
- qubitlab/py.typed +0 -0
- qubitlab/serve.py +42 -0
- qubitlab/sim/__init__.py +1 -0
- qubitlab/sim/cat.py +260 -0
- qubitlab/sim/custom.py +262 -0
- qubitlab/sim/pulse_optimizer.py +129 -0
- qubitlab/sim/qec.py +230 -0
- qubitlab/sim/readout.py +119 -0
- qubitlab/sim/spectra.py +65 -0
- qubitlab/sim/transmon.py +63 -0
- qubitlab/sim/transmon_dynamics.py +304 -0
- qubitlab/sim/two_qubit.py +118 -0
- qubitlab/snapshot.py +43 -0
- qubitlab/snippets.py +195 -0
- qubitlab/theory/__init__.py +10 -0
- qubitlab/theory/cat.py +256 -0
- qubitlab/theory/gates.py +88 -0
- qubitlab/theory/qec.py +92 -0
- qubitlab/theory/qubit.py +156 -0
- qubitlab/theory/readout.py +136 -0
- qubitlab/theory/registry.py +77 -0
- qubitlab/theory/transmon.py +97 -0
- qubitlab/warm.py +140 -0
- qubitlab-1.0.0.dist-info/METADATA +110 -0
- qubitlab-1.0.0.dist-info/RECORD +135 -0
- qubitlab-1.0.0.dist-info/WHEEL +4 -0
- qubitlab-1.0.0.dist-info/entry_points.txt +3 -0
- qubitlab-1.0.0.dist-info/licenses/LICENSE +201 -0
qubitlab/__init__.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""qubitlab: cat qubit and transmon physics, theory vs simulation."""
|
|
2
|
+
|
|
3
|
+
from importlib.metadata import version
|
|
4
|
+
|
|
5
|
+
import jax
|
|
6
|
+
|
|
7
|
+
# Physics checks compare numbers to 1e-6 and below, so everything runs in double precision.
|
|
8
|
+
jax.config.update("jax_enable_x64", True) # type: ignore[no-untyped-call]
|
|
9
|
+
|
|
10
|
+
__version__ = version("qubitlab") # single source: pyproject.toml
|