quantcore-circuits 0.0.1__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.
- quantcore_circuits/__init__.py +57 -0
- quantcore_circuits/analysis/__init__.py +12 -0
- quantcore_circuits/analysis/_metal.py +70 -0
- quantcore_circuits/analysis/amplifiers.py +263 -0
- quantcore_circuits/analysis/circuits.py +117 -0
- quantcore_circuits/analysis/epr.py +231 -0
- quantcore_circuits/analysis/epr_lumped.py +372 -0
- quantcore_circuits/analysis/extract.py +119 -0
- quantcore_circuits/analysis/lom.py +80 -0
- quantcore_circuits/analysis/results.py +549 -0
- quantcore_circuits/analysis/store.py +81 -0
- quantcore_circuits/analysis/synthesis.py +118 -0
- quantcore_circuits/analysis/transmon.py +126 -0
- quantcore_circuits/assembly/__init__.py +17 -0
- quantcore_circuits/assembly/builder.py +127 -0
- quantcore_circuits/assembly/drc.py +683 -0
- quantcore_circuits/assembly/last_good.py +137 -0
- quantcore_circuits/assembly/netlist.py +174 -0
- quantcore_circuits/assembly/plan.py +605 -0
- quantcore_circuits/assembly/sidecar.py +270 -0
- quantcore_circuits/autotrack.py +605 -0
- quantcore_circuits/cards.py +878 -0
- quantcore_circuits/circuit/__init__.py +14 -0
- quantcore_circuits/circuit/adapters.py +305 -0
- quantcore_circuits/circuit/bridges.py +353 -0
- quantcore_circuits/circuit/consensus.py +158 -0
- quantcore_circuits/circuit/derive.py +28 -0
- quantcore_circuits/circuit/draw.py +198 -0
- quantcore_circuits/circuit/fill.py +828 -0
- quantcore_circuits/circuit/hamiltonian.py +193 -0
- quantcore_circuits/circuit/kinetic.py +102 -0
- quantcore_circuits/circuit/schema.py +139 -0
- quantcore_circuits/cli.py +1085 -0
- quantcore_circuits/codesign.py +1038 -0
- quantcore_circuits/data/selftest_q1_r1.json +44 -0
- quantcore_circuits/design/__init__.py +44 -0
- quantcore_circuits/design/io.py +98 -0
- quantcore_circuits/design/pyscript.py +395 -0
- quantcore_circuits/design/schema.py +398 -0
- quantcore_circuits/designer.py +625 -0
- quantcore_circuits/guiflow.py +991 -0
- quantcore_circuits/kqc_files.py +208 -0
- quantcore_circuits/layouts/__init__.py +118 -0
- quantcore_circuits/layouts/catalog.py +520 -0
- quantcore_circuits/layouts/chips/__init__.py +0 -0
- quantcore_circuits/layouts/chips/design_chip.py +325 -0
- quantcore_circuits/layouts/chips/frame.py +235 -0
- quantcore_circuits/layouts/junctions/__init__.py +0 -0
- quantcore_circuits/layouts/junctions/jj_fingers.py +99 -0
- quantcore_circuits/layouts/junctions/legacy_junctions.py +237 -0
- quantcore_circuits/layouts/junctions/sim_gap.py +48 -0
- quantcore_circuits/layouts/junctions/trilayer.py +541 -0
- quantcore_circuits/layouts/metal/__init__.py +105 -0
- quantcore_circuits/layouts/metal/component.py +332 -0
- quantcore_circuits/layouts/metal/geometry.py +462 -0
- quantcore_circuits/layouts/others/__init__.py +0 -0
- quantcore_circuits/layouts/others/amplifiers.py +1139 -0
- quantcore_circuits/layouts/others/bond_pad.py +119 -0
- quantcore_circuits/layouts/others/connector_pads.py +190 -0
- quantcore_circuits/layouts/others/couplers.py +21 -0
- quantcore_circuits/layouts/others/cpw_segment.py +131 -0
- quantcore_circuits/layouts/others/cpwe.py +661 -0
- quantcore_circuits/layouts/others/keepout.py +66 -0
- quantcore_circuits/layouts/others/legacy_resonators.py +645 -0
- quantcore_circuits/layouts/others/markers.py +201 -0
- quantcore_circuits/layouts/others/qpdk_cells.py +263 -0
- quantcore_circuits/layouts/others/shapes.py +114 -0
- quantcore_circuits/layouts/others/spirals.py +140 -0
- quantcore_circuits/layouts/others/sqdmetal_cells.py +90 -0
- quantcore_circuits/layouts/others/test_pads.py +461 -0
- quantcore_circuits/layouts/ports.py +119 -0
- quantcore_circuits/layouts/qubits/__init__.py +0 -0
- quantcore_circuits/layouts/qubits/legacy_transmon.py +124 -0
- quantcore_circuits/layouts/qubits/qpdk_cells.py +374 -0
- quantcore_circuits/layouts/qubits/sqdmetal_cells.py +376 -0
- quantcore_circuits/layouts/qubits/trilayer_concentric.py +65 -0
- quantcore_circuits/layouts/qubits/xmon.py +375 -0
- quantcore_circuits/layouts/registry.py +418 -0
- quantcore_circuits/layouts/wafers/__init__.py +0 -0
- quantcore_circuits/layouts/wafers/fab_export.py +454 -0
- quantcore_circuits/layouts/wafers/legacy_wafer.py +111 -0
- quantcore_circuits/layouts/wafers/wafer.py +469 -0
- quantcore_circuits/live/__init__.py +6 -0
- quantcore_circuits/live/klayout.py +225 -0
- quantcore_circuits/live/klive.py +61 -0
- quantcore_circuits/live/snapshot.py +185 -0
- quantcore_circuits/live/watch.py +93 -0
- quantcore_circuits/lom/__init__.py +15 -0
- quantcore_circuits/lom/builder.py +932 -0
- quantcore_circuits/lom/calibration.py +82 -0
- quantcore_circuits/lom/estimates.py +235 -0
- quantcore_circuits/lom/fragment.py +421 -0
- quantcore_circuits/lom/kqc_models.py +734 -0
- quantcore_circuits/lom/metal_models.py +917 -0
- quantcore_circuits/lom/quantcore_models.py +784 -0
- quantcore_circuits/lom/simulate.py +636 -0
- quantcore_circuits/lom/synthesize.py +189 -0
- quantcore_circuits/loop.py +610 -0
- quantcore_circuits/optimise.py +423 -0
- quantcore_circuits/pdk/__init__.py +451 -0
- quantcore_circuits/plots.py +876 -0
- quantcore_circuits/plugins.py +69 -0
- quantcore_circuits/review/__init__.py +57 -0
- quantcore_circuits/review/server.py +251 -0
- quantcore_circuits/review/static/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- quantcore_circuits/review/static/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- quantcore_circuits/review/static/assets/index-CDHdrFyA.css +1 -0
- quantcore_circuits/review/static/assets/index-CSx05Og4.js +409 -0
- quantcore_circuits/review/static/assets/inter-cyrillic-400-normal-HOLc17fK.woff +0 -0
- quantcore_circuits/review/static/assets/inter-cyrillic-400-normal-obahsSVq.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-cyrillic-500-normal-BasfLYem.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-cyrillic-500-normal-CxZf_p3X.woff +0 -0
- quantcore_circuits/review/static/assets/inter-cyrillic-600-normal-4D_pXhcN.woff +0 -0
- quantcore_circuits/review/static/assets/inter-cyrillic-600-normal-CWCymEST.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-cyrillic-700-normal-CjBOestx.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-cyrillic-700-normal-DrXBdSj3.woff +0 -0
- quantcore_circuits/review/static/assets/inter-cyrillic-ext-400-normal-BQZuk6qB.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-cyrillic-ext-400-normal-DQukG94-.woff +0 -0
- quantcore_circuits/review/static/assets/inter-cyrillic-ext-500-normal-B0yAr1jD.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-cyrillic-ext-500-normal-BmqWE9Dz.woff +0 -0
- quantcore_circuits/review/static/assets/inter-cyrillic-ext-600-normal-Bcila6Z-.woff +0 -0
- quantcore_circuits/review/static/assets/inter-cyrillic-ext-600-normal-Dfes3d0z.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-cyrillic-ext-700-normal-BjwYoWNd.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-cyrillic-ext-700-normal-LO58E6JB.woff +0 -0
- quantcore_circuits/review/static/assets/inter-greek-400-normal-B4URO6DV.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-greek-400-normal-q2sYcFCs.woff +0 -0
- quantcore_circuits/review/static/assets/inter-greek-500-normal-BIZE56-Y.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-greek-500-normal-Xzm54t5V.woff +0 -0
- quantcore_circuits/review/static/assets/inter-greek-600-normal-BZpKdvQh.woff +0 -0
- quantcore_circuits/review/static/assets/inter-greek-600-normal-plRanbMR.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-greek-700-normal-BUv2fZ6O.woff +0 -0
- quantcore_circuits/review/static/assets/inter-greek-700-normal-C3JjAnD8.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-greek-ext-400-normal-DGGRlc-M.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-greek-ext-400-normal-KugGGMne.woff +0 -0
- quantcore_circuits/review/static/assets/inter-greek-ext-500-normal-2j5mBUwD.woff +0 -0
- quantcore_circuits/review/static/assets/inter-greek-ext-500-normal-C4iEst2y.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-greek-ext-600-normal-B8X0CLgF.woff +0 -0
- quantcore_circuits/review/static/assets/inter-greek-ext-600-normal-DRtmH8MT.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-greek-ext-700-normal-BoQ6DsYi.woff +0 -0
- quantcore_circuits/review/static/assets/inter-greek-ext-700-normal-qfdV9bQt.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-latin-400-normal-C38fXH4l.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-latin-400-normal-CyCys3Eg.woff +0 -0
- quantcore_circuits/review/static/assets/inter-latin-500-normal-BL9OpVg8.woff +0 -0
- quantcore_circuits/review/static/assets/inter-latin-500-normal-Cerq10X2.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-latin-600-normal-CiBQ2DWP.woff +0 -0
- quantcore_circuits/review/static/assets/inter-latin-600-normal-LgqL8muc.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-latin-700-normal-BLAVimhd.woff +0 -0
- quantcore_circuits/review/static/assets/inter-latin-700-normal-Yt3aPRUw.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-latin-ext-400-normal-77YHD8bZ.woff +0 -0
- quantcore_circuits/review/static/assets/inter-latin-ext-400-normal-C1nco2VV.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-latin-ext-500-normal-BxGbmqWO.woff +0 -0
- quantcore_circuits/review/static/assets/inter-latin-ext-500-normal-CV4jyFjo.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-latin-ext-600-normal-CIVaiw4L.woff +0 -0
- quantcore_circuits/review/static/assets/inter-latin-ext-600-normal-D2bJ5OIk.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-latin-ext-700-normal-Ca8adRJv.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-latin-ext-700-normal-TidjK2hL.woff +0 -0
- quantcore_circuits/review/static/assets/inter-vietnamese-400-normal-Bbgyi5SW.woff +0 -0
- quantcore_circuits/review/static/assets/inter-vietnamese-400-normal-DMkecbls.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-vietnamese-500-normal-DOriooB6.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-vietnamese-500-normal-mJboJaSs.woff +0 -0
- quantcore_circuits/review/static/assets/inter-vietnamese-600-normal-BuLX-rYi.woff +0 -0
- quantcore_circuits/review/static/assets/inter-vietnamese-600-normal-Cc8MFFhd.woff2 +0 -0
- quantcore_circuits/review/static/assets/inter-vietnamese-700-normal-BZaoP0fm.woff +0 -0
- quantcore_circuits/review/static/assets/inter-vietnamese-700-normal-DlLaEgI2.woff2 +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-cyrillic-400-normal-BEIGL1Tu.woff2 +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-cyrillic-400-normal-ugxPyKxw.woff +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-cyrillic-500-normal-DJqRU3vO.woff +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-cyrillic-500-normal-DmUKJPL_.woff2 +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-greek-400-normal-B9oWc5Lo.woff +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-greek-400-normal-C190GLew.woff2 +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-greek-500-normal-D7SFKleX.woff +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-greek-500-normal-JpySY46c.woff2 +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-latin-400-normal-6-qcROiO.woff +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2 +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-latin-500-normal-BWZEU5yA.woff2 +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-latin-500-normal-CJOVTJB7.woff +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-latin-ext-400-normal-Bc8Ftmh3.woff2 +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-latin-ext-400-normal-fXTG6kC5.woff +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-latin-ext-500-normal-Cut-4mMH.woff2 +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-latin-ext-500-normal-ckzbgY84.woff +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-vietnamese-400-normal-CqNFfHCs.woff +0 -0
- quantcore_circuits/review/static/assets/jetbrains-mono-vietnamese-500-normal-DNRqzVM1.woff +0 -0
- quantcore_circuits/review/static/index.html +14 -0
- quantcore_circuits/review/static/logo-quantcore-black.png +0 -0
- quantcore_circuits/review/static/logo-quantcore-white.png +0 -0
- quantcore_circuits/review/static/sample/chip.png +0 -0
- quantcore_circuits/review/static/sample/chip_rev1.png +0 -0
- quantcore_circuits/review/static/sample/q1.png +0 -0
- quantcore_circuits/review/static/sample/q2.png +0 -0
- quantcore_circuits/review/static/sample-state.json +3747 -0
- quantcore_circuits/route/__init__.py +5 -0
- quantcore_circuits/route/router.py +694 -0
- quantcore_circuits/route/waveguide.py +187 -0
- quantcore_circuits/selftest.py +224 -0
- quantcore_circuits/sim_tools/__init__.py +6 -0
- quantcore_circuits/sim_tools/aedt_attach.py +66 -0
- quantcore_circuits/sim_tools/aedt_progress.py +224 -0
- quantcore_circuits/sim_tools/aedt_project.py +302 -0
- quantcore_circuits/sim_tools/aedt_scripts.py +397 -0
- quantcore_circuits/sim_tools/aedt_session.py +275 -0
- quantcore_circuits/sim_tools/ansys.py +90 -0
- quantcore_circuits/sim_tools/builder.py +1690 -0
- quantcore_circuits/sim_tools/export.py +470 -0
- quantcore_circuits/sim_tools/geometry_check.py +342 -0
- quantcore_circuits/sim_tools/hfss.py +583 -0
- quantcore_circuits/sim_tools/palace.py +197 -0
- quantcore_circuits/sim_tools/runner.py +179 -0
- quantcore_circuits/sim_tools/subset.py +364 -0
- quantcore_circuits/track.py +671 -0
- quantcore_circuits-0.0.1.dist-info/METADATA +204 -0
- quantcore_circuits-0.0.1.dist-info/RECORD +272 -0
- quantcore_circuits-0.0.1.dist-info/WHEEL +5 -0
- quantcore_circuits-0.0.1.dist-info/entry_points.txt +2 -0
- quantcore_circuits-0.0.1.dist-info/licenses/LICENSE +674 -0
- quantcore_circuits-0.0.1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
"""LOM → layout: qubit/resonator targets (or a ``circuit.json``) → component knobs → a laid-out chip.
|
|
2
|
+
|
|
3
|
+
1. **Circuit values.** For every transmon + λ/4 readout pair: f_q, α, f_r and g → E_J, E_C, Lj, C_Σ, C_g (LOM synthesis,
|
|
4
|
+
:func:`~quantcore_circuits.analysis.synthesis.synthesize_transmon_readout`).
|
|
5
|
+
2. **Knobs.** A surrogate built from the component calibration (Xmon ``cross_length`` → C_island,
|
|
6
|
+
``claw_length`` → C_g and claw pad; no FEM needed) is inverted with the same QuTiP forward model the co-design
|
|
7
|
+
loop uses, so claw loading of the resonator and the dressed shifts are accounted for (:func:`~quantcore_circuits.
|
|
8
|
+
codesign.propose`).
|
|
9
|
+
3. **Layout.** Template ``"feedline"``: bond pads W/E on the chip's mid line, a straight feedline, the qubits below
|
|
10
|
+
it at equal spacing, each with its readout meander hanging off the feedline and a flux line from a bottom pad.
|
|
11
|
+
Built with :class:`~quantcore_circuits.designer.Designer` (``live=True`` shows it being laid out in KLayout).
|
|
12
|
+
|
|
13
|
+
The result is an ordinary design; simulate it (Q3D/HFSS/Palace), fill the circuit, and the co-design loop takes it
|
|
14
|
+
from there.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
from __future__ import annotations
|
|
18
|
+
|
|
19
|
+
from dataclasses import dataclass
|
|
20
|
+
|
|
21
|
+
from quantcore_circuits.pdk import DEFAULT_PDK
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
@dataclass
|
|
25
|
+
class PairTarget:
|
|
26
|
+
qubit: str
|
|
27
|
+
f_q_GHz: float
|
|
28
|
+
alpha_MHz: float
|
|
29
|
+
resonator: str
|
|
30
|
+
f_r_GHz: float
|
|
31
|
+
g_MHz: float
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def pairs_from_circuit(model) -> list[PairTarget]:
|
|
35
|
+
"""Transmon + λ/4 pairs and their targets from a :class:`CircuitModel`."""
|
|
36
|
+
out = []
|
|
37
|
+
for rname, b in model.branches.items():
|
|
38
|
+
if b.type != "TLres":
|
|
39
|
+
continue
|
|
40
|
+
cnode = b.nodes[0]
|
|
41
|
+
q = next(
|
|
42
|
+
(
|
|
43
|
+
j.nodes[0]
|
|
44
|
+
for j in model.branches.values()
|
|
45
|
+
if j.type in ("JJ", "SQUID")
|
|
46
|
+
and any(c.type == "C" and set(c.nodes) == {j.nodes[0], cnode} for c in model.branches.values())
|
|
47
|
+
),
|
|
48
|
+
None,
|
|
49
|
+
)
|
|
50
|
+
t = model.targets
|
|
51
|
+
try:
|
|
52
|
+
out.append(
|
|
53
|
+
PairTarget(
|
|
54
|
+
q,
|
|
55
|
+
t[f"{q}.f_q_GHz"].value,
|
|
56
|
+
t[f"{q}.alpha_MHz"].value,
|
|
57
|
+
rname,
|
|
58
|
+
t[f"{rname}.f_GHz"].value,
|
|
59
|
+
t[f"{rname}.g_MHz"].value,
|
|
60
|
+
)
|
|
61
|
+
)
|
|
62
|
+
except KeyError as e:
|
|
63
|
+
raise ValueError(f"circuit needs targets for {q}/{rname}: missing {e}") from e
|
|
64
|
+
return out
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def knobs_for_pair(p: PairTarget, pdk_name: str = DEFAULT_PDK, cj_fF: float = 2.0, a_um=10.0, b_um=6.0) -> dict:
|
|
68
|
+
"""Xmon cross/claw, Lj and resonator length that hit ``p`` (calibration surrogate + QuTiP forward model)."""
|
|
69
|
+
from quantcore_circuits.analysis.synthesis import synthesize_transmon_readout # pylint: disable=C0415
|
|
70
|
+
from quantcore_circuits.codesign import ElementModel, PairSurrogate, propose # pylint: disable=C0415
|
|
71
|
+
from quantcore_circuits.lom.calibration import _entry # pylint: disable=import-outside-toplevel
|
|
72
|
+
|
|
73
|
+
syn = synthesize_transmon_readout(p.f_q_GHz, p.alpha_MHz, p.f_r_GHz, p.g_MHz, a_um, b_um, pdk_name)
|
|
74
|
+
entry, scale = _entry("Xmon", pdk_name)
|
|
75
|
+
models = {}
|
|
76
|
+
for key, name in (("C_island", "C_island"), ("Cg", "Cg"), ("C_claw", "C_coupler")):
|
|
77
|
+
c = entry[key]
|
|
78
|
+
knob = f"{p.qubit}.{c['knob']}"
|
|
79
|
+
models[name] = ElementModel(name, knob, c["k0"], c["v0"] * scale, c["p"], c["p"])
|
|
80
|
+
s = PairSurrogate(
|
|
81
|
+
p.qubit,
|
|
82
|
+
p.resonator,
|
|
83
|
+
models["C_island"],
|
|
84
|
+
models["Cg"],
|
|
85
|
+
models["C_coupler"],
|
|
86
|
+
syn["Lj_nH"],
|
|
87
|
+
cj_fF,
|
|
88
|
+
syn["resonator_length_um"],
|
|
89
|
+
a_um,
|
|
90
|
+
b_um,
|
|
91
|
+
pdk_name,
|
|
92
|
+
)
|
|
93
|
+
targets = {
|
|
94
|
+
f"{p.qubit}.f_q_GHz": {"value": p.f_q_GHz, "tol": 0.02},
|
|
95
|
+
f"{p.qubit}.alpha_MHz": {"value": p.alpha_MHz, "tol": 10.0},
|
|
96
|
+
f"{p.resonator}.f_GHz": {"value": p.f_r_GHz, "tol": 0.01},
|
|
97
|
+
f"{p.resonator}.g_MHz": {"value": p.g_MHz, "tol": 10.0},
|
|
98
|
+
}
|
|
99
|
+
bounds = {
|
|
100
|
+
f"{p.qubit}.cross_length": (150.0, 600.0),
|
|
101
|
+
f"{p.qubit}.claw_length": (40.0, 260.0),
|
|
102
|
+
f"{p.qubit}.junction.Lj_nH": (3.0, 30.0),
|
|
103
|
+
f"{p.resonator}.length": (2000.0, 9000.0),
|
|
104
|
+
}
|
|
105
|
+
prop = propose(s, targets, bounds)
|
|
106
|
+
return {
|
|
107
|
+
"knobs": prop.knobs,
|
|
108
|
+
"predicted": prop.predicted,
|
|
109
|
+
"residuals": prop.residuals,
|
|
110
|
+
"synthesis": syn,
|
|
111
|
+
"at_bounds": prop.at_bounds,
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
def layout_from_targets(
|
|
116
|
+
name: str,
|
|
117
|
+
pairs: list[PairTarget],
|
|
118
|
+
box=(0.0, 0.0, 7500.0, 7500.0),
|
|
119
|
+
pdk: str = DEFAULT_PDK,
|
|
120
|
+
live: bool = False,
|
|
121
|
+
template: str = "feedline",
|
|
122
|
+
**designer_kw,
|
|
123
|
+
):
|
|
124
|
+
"""Lay out ``pairs`` on one feedline (see module docstring). Returns the :class:`Designer`."""
|
|
125
|
+
from quantcore_circuits.designer import Designer # pylint: disable=import-outside-toplevel
|
|
126
|
+
|
|
127
|
+
if template != "feedline":
|
|
128
|
+
raise ValueError(f"unknown template {template!r}")
|
|
129
|
+
x0, y0, x1, y1 = box
|
|
130
|
+
y_fl = (y0 + y1) / 2
|
|
131
|
+
d = Designer(name, box=box, pdk=pdk, chip={"name_chip": name[:6].upper()}, live=live, **designer_kw)
|
|
132
|
+
solved = [knobs_for_pair(p, pdk) for p in pairs]
|
|
133
|
+
with d.batch():
|
|
134
|
+
pw = d.add("PAD_W", "BondPad", at=(x0 + 1125, y_fl), rot=270)
|
|
135
|
+
pe = d.add("PAD_E", "BondPad", at=(x1 - 1125, y_fl), rot=90)
|
|
136
|
+
fl = d.route("FL", pw.a, pe.a, airbridges="none")
|
|
137
|
+
span = (x1 - 1125) - (x0 + 1125)
|
|
138
|
+
for i, (p, sol) in enumerate(zip(pairs, solved)):
|
|
139
|
+
k = sol["knobs"]
|
|
140
|
+
qx = round(x0 + 1125 + span * (i + 1) / (len(pairs) + 1), 1)
|
|
141
|
+
q = d.add(
|
|
142
|
+
p.qubit,
|
|
143
|
+
"Xmon",
|
|
144
|
+
at=(qx, y_fl - 1550),
|
|
145
|
+
cross_length=k[f"{p.qubit}.cross_length"],
|
|
146
|
+
claw_length=k[f"{p.qubit}.claw_length"],
|
|
147
|
+
claws=["n"],
|
|
148
|
+
flux_port=True,
|
|
149
|
+
junction_type="Trilayer Squid",
|
|
150
|
+
junction={"Lj_nH": k[f"{p.qubit}.junction.Lj_nH"], "Cj_fF": 2.0},
|
|
151
|
+
)
|
|
152
|
+
coupler = 300.0
|
|
153
|
+
s = (qx - (x0 + 1125)) + coupler / 2
|
|
154
|
+
d.route(p.resonator, q.claw_n, fl.hanger(s=s, length=coupler, side="right"), meander=k[f"{p.resonator}.length"])
|
|
155
|
+
flux = q.flux.port.pos
|
|
156
|
+
fx = round(qx + flux.x, 4)
|
|
157
|
+
fy = round(y_fl - 1550 + flux.y, 4)
|
|
158
|
+
pf = d.add(
|
|
159
|
+
f"PAD_F{i + 1}" if len(pairs) > 1 else "PAD_F",
|
|
160
|
+
"BondPad",
|
|
161
|
+
at=(fx, y0 + 750),
|
|
162
|
+
a=4,
|
|
163
|
+
b=6,
|
|
164
|
+
pad_width=300,
|
|
165
|
+
pad_height=300,
|
|
166
|
+
pad_gap=150,
|
|
167
|
+
taper_length=300,
|
|
168
|
+
)
|
|
169
|
+
d.route(
|
|
170
|
+
f"FLUX{i + 1}" if len(pairs) > 1 else "FLUX",
|
|
171
|
+
pf.a,
|
|
172
|
+
q.flux,
|
|
173
|
+
a=4,
|
|
174
|
+
b=6,
|
|
175
|
+
nodes=[d.waypoint((fx, round(fy - 57.5, 4)), a=1, b=7.5)],
|
|
176
|
+
)
|
|
177
|
+
d.targets(
|
|
178
|
+
**{p.qubit: {"f_q_GHz": p.f_q_GHz, "alpha_MHz": p.alpha_MHz} for p in pairs},
|
|
179
|
+
**{p.resonator: {"f_GHz": p.f_r_GHz, "g_MHz": p.g_MHz} for p in pairs},
|
|
180
|
+
)
|
|
181
|
+
for p in pairs:
|
|
182
|
+
d.sim_group(f"{p.qubit}{p.resonator}", [p.qubit, p.resonator])
|
|
183
|
+
d.synthesis = solved
|
|
184
|
+
return d
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
def layout_from_circuit(model, name: str | None = None, **kw):
|
|
188
|
+
"""LOM → layout for a :class:`CircuitModel` with transmon + λ/4 pairs and targets."""
|
|
189
|
+
return layout_from_targets(name or model.name.replace("_lom", "") + "_synth", pairs_from_circuit(model), **kw)
|