% generated by scripts/make_component_docs.py -- do not edit. Put hand-written notes in docs/components/notes/WaveguideCoplanarCurved.md (included below). # WaveguideCoplanarCurved The PCell declaration of a curved segment of a coplanar waveguide. **Source:** KQC (KQCircuits). **Category:** waveguide. **Module:** `kqcircuits.elements.waveguide_coplanar_curved`. :::{warning} Legacy cell. the bare arc piece routes are drawn with; unused as a cell. Use a route (its bends). Ports a/b and a line LOM since 2026-11-15 ::: See also the [catalog](../CATALOG.md). ## Pins ![Pins of WaveguideCoplanarCurved](../../images/components/WaveguideCoplanarCurved.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` | 100 | 0 | 270 | 10 | 6 | CPW end; LOM node `line` | | `b` | -100 | 0 | 270 | 10 | 6 | 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`). **Notes from the catalog:** origin at the arc centre: port 'a' at (r, 0), 'b' at angle alpha, both facing out along the tangent (registry.KQC_EXTRA_PORTS; KQC draws no ports). LOM: a CPW line of r·\|alpha\|. ## Parameters | name | default | unit | description | |---|---|---|---| | `a` | `10` | μm | Width of center conductor | | `b` | `6` | μm | Width of gap | | `r` | `100` | μm | Turn radius | | `length` | `0` | μm | Actual length | | `ground_grid_in_trace` | `false` | – | Add ground grid also to the waveguide | | `alpha` | `3.141592653589793` | – | Curve angle (rad) | | `add_metal` | `false` | – | Add trace in base metal addition too | 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` | 314.159 | 10 | 6 | 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", "WaveguideCoplanarCurved", 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 WaveguideCoplanarCurved` 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.