% generated by scripts/make_component_docs.py -- do not edit. Put hand-written notes in docs/components/notes/CpweTaper.md (included below). # CpweTaper Taper from ``a``/``b`` to ``a_end``/``b_end`` (legacy ``cpwe.tapper``: linear or exponential profiles). **Source:** Quantcore. **Category:** waveguide. **Module:** `quantcore_circuits.layouts.others.cpwe`. :::{note} Alias of [`WaveguideCoplanarTaper`](WaveguideCoplanarTaper.md): the same circuit, drawn differently. linear profile (taper_type 0): length → taper_length, a_end → a2, b_end → b2; ports a, b (XOR 0.03 of 565 µm², dbu rounding). The exponential profiles 1–3 have no KQC drawing (same LOM: mean a/b) ::: See also the [catalog](../CATALOG.md). ## Pins ![Pins of CpweTaper](../../images/components/CpweTaper.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` | 0 | 0 | 180 | 10 | 6 | CPW end; LOM node `line` | | `b` | 100 | 0 | 0 | 20 | 12 | CPW end; LOM node `line` | 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 | | `length` | `100` | μm | Taper length | | `taper_type` | `0` | – | Profile: 0 linear, 1–3 exponential (legacy t_type) | | `a_end` | `20` | μm | Centre width at the +x end | | `b_end` | `12` | μm | Gap at the +x end | | `weight` | `25` | – | Exponent weight | 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` | `line` | 100 | 15 | 9 | short / short | Nodes: `line`. ## How to use In Python: ```python from quantcore_circuits.designer import Designer d = Designer("demo", box=(0, 0, 7500, 7500)) d.add("U1", "CpweTaper", 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 CpweTaper` 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. GUI status (`kplugin/COMPONENTS_STATUS.md`): places ok, edit ok, connect ok, build ok.