% generated by scripts/make_component_docs.py -- do not edit. Put hand-written notes in docs/components/notes/metal_ResonatorLumped.md (included below). # metal:ResonatorLumped ResonatorLumped.png **Source:** Metal (Qiskit Metal). **Category:** resonator. **Module:** `qiskit_metal.qlibrary.resonators.resonator_lumped`. See also the [catalog](../CATALOG.md). ## Pins ![Pins of metal:ResonatorLumped](../../images/components/metal_ResonatorLumped.png) Pin image (default parameters). Light = metal, dark = etched gap, colours = junction layers. A red dot and arrow is a pin and its direction (out of the cell); the red bar is the CPW width a + 2 b. Blue dot = a pin without direction. Units: µm. | pin | x (µm) | y (µm) | direction (°) | a (µm) | b (µm) | purpose | |---|---|---|---|---|---|---| | `pin_east` | 2500 | 0 | 0 | 10 | 6 | grounded in the LOM | | `pin_n` | 0 | 3110 | 90 | 10 | 6 | LOM node `res` | | `pin_ne` | 2500 | 2500 | 45 | 10 | 6 | grounded in the LOM | | `pin_nw` | -2500 | 2500 | 135 | 10 | 6 | grounded in the LOM | | `pin_s` | 0 | -2500 | 270 | 10 | 6 | grounded in the LOM | | `pin_se` | 2500 | -2500 | 315 | 10 | 6 | grounded in the LOM | | `pin_sw` | -2500 | -2500 | 225 | 10 | 6 | grounded in the LOM | | `pin_west` | -2500 | 0 | 180 | 10 | 6 | grounded in the LOM | a, b: CPW centre width and gap where the pin declares them (`–` = not declared). Position and direction are in the cell's own frame (`at=(0, 0)`, `rot=0`). **Notes from the catalog:** draws metal only, no pocket (perimeter and trace are both metal): alone it is empty in the negative mask, as in Metal's own GDS (metal on the ground plane). Place it on a pocket, e.g. metal:Rectangle with subtract: true; its metal goes to base_metal_addition, which the fab export removes from the etch. Metal's defaults are mm-scale. ## Parameters | name | default | unit | description | |---|---|---|---| | `a` | `10` | μm | Width of center conductor | | `b` | `6` | μm | Width of gap | | `r` | `100` | μm | Turn radius | | `junction_type` | `"Metal"` | – | Junction as fabricated: Metal footprint, or a trilayer cell placed on each junction line | | `junction_params` | `"{}"` | – | Trilayer junction cell parameters (JSON dict, e.g. lj_nH) | | `metal_class` | `"ResonatorLumped"` | – | Quantum Metal component | | `options` | `"{}"` | – | Metal options as JSON (bare numbers on length options are µm) | | `open_pins` | `""` | – | Pins left open (comma-separated): keep Metal's etch beyond them, as drawn with no route attached | Electrically relevant parameters (sizes, gaps, junction, ports) come first, the rest follows. ## LOM model The cell contributes to the lumped model: - no lumped branches | line | node | length (µm) | a (µm) | b (µm) | ends | |---|---|---|---|---|---| | `X` | `res` | 69800 | 10 | 95 | open / short | Nodes: `res`. - X: lumped resonator estimated as a λ/4 line of its trace length (rough) ## Simulation export notes - ctx: scratch-context routing fallback (not an export issue) (status: context) ## How to use In Python: ```python from quantcore_circuits.designer import Designer d = Designer("demo", box=(0, 0, 7500, 7500)) d.add("U1", "metal:ResonatorLumped", at=(3750, 3750), a=10) # parameters: see the table above d.add("PAD", "BondPad", at=(1125, 3750), rot=270) # a launcher to connect to d.route("L1", "PAD.a", "U1.pin_east") # a CPW from the pad to the pin ``` Pin names go into `d.route(...)` as `INSTANCE.pin`, and into `snap=` / `to=` when placing. From the shell: `qcc components metal:ResonatorLumped` lists the pins; add `--schema` for the parameters. In KLayout: Quantcore panel ▸ Components ▸ double-click the cell, then click on the layout to place it. Rotate and mirror before the click; use Connect on two pins to route.