% generated by scripts/make_component_docs.py -- do not edit. Put hand-written notes in docs/components/notes/QuarterWaveCpwResonator.md (included below). # QuarterWaveCpwResonator CPW Resonator **Source:** KQC (KQCircuits). **Category:** resonator. **Module:** `kqcircuits.elements.quarter_wave_cpw_resonator`. See also the [catalog](../CATALOG.md). ## Pins ![Pins of QuarterWaveCpwResonator](../../images/components/QuarterWaveCpwResonator.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 | |---|---|---|---|---|---|---| | `a` | -250 | 0 | 180 | 10 | 6 | CPW end; LOM node `pl` | | `b` | 250 | 0 | 0 | 10 | 6 | CPW end; LOM node `pl` | | `resonator_b` | 0 | -1076 | 270 | 10 | 10 | LOM node `res` | 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`). ## Parameters | name | default | unit | description | |---|---|---|---| | `a` | `10` | μm | Width of center conductor | | `b` | `6` | μm | Width of gap | | `r` | `100` | μm | Turn radius | | `probeline_length` | `500` | μm | Probeline length | | `resonator_length` | `1000` | μm | Resonator length | | `res_term` | `"galvanic"` | – | Resonator termination type | | `n_fingers` | `1` | – | Number of fingers | | `l_fingers` | `1` | – | Finger length | | `ground_grid_in_trace` | `false` | – | Include ground-grid in the trace | | `type_coupler` | `"smooth"` | – | Capacitor coupler type | | `use_internal_ports` | `false` | – | Internal ports (EPR) | | `max_res_len` | `1e+30` | μm | Maximal straight length of resonators | | `res_beg` | `"galvanic"` | – | Resonator beginning type | | `n_ab` | `0` | – | Number of resonator airbridges | | `res_airbridge_type` | `"Airbridge Rectangular"` | – | Airbridge type | | `tl_airbridges` | `true` | – | Airbridges on transmission line | | `res_a` | `10` | μm | Trace width of resonator line | | `res_b` | `10` | μm | Gap width of resonator line | Electrically relevant parameters (sizes, gaps, junction, ports) come first, the rest follows. ## LOM model The cell contributes to the lumped model: | branch | type | nodes | value (estimate at defaults) | |---|---|---|---| | `Ck_X` | C | pl – res | estimate=6.4, unit=fF, estimate_source=rough: SmoothCapacitor electrode gap (CPS), estimate_kind=rough, uncertainty=±50% | | line | node | length (µm) | a (µm) | b (µm) | ends | |---|---|---|---|---|---| | `X` | `res` | 1000 | 10 | 10 | open / short | Nodes: `pl`, `res`. ## How to use In Python: ```python from quantcore_circuits.designer import Designer d = Designer("demo", box=(0, 0, 7500, 7500)) d.add("U1", "QuarterWaveCpwResonator", 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.a") # 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 QuarterWaveCpwResonator` 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.