% generated by scripts/make_component_docs.py -- do not edit. Put hand-written notes in docs/components/notes/SpiralPath.md (included below). # SpiralPath Archimedean spiral path from ``inner_r`` to ``outer_r`` (legacy "Spiral"). **Source:** Quantcore. **Category:** shape. **Module:** `quantcore_circuits.layouts.others.shapes`. :::{warning} Legacy cell. legacy spiral.lym: the archimedean curve of SpiralLine (XOR 2.4 of 155 µm²) without ports or LOM model; golden test only. New designs: SpiralLine ::: See also the [catalog](../CATALOG.md). ## Pins ![Pins of SpiralPath](../../images/components/SpiralPath.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. No pins: this cell has no ports. Place it with `at=` / `rot=`. ## Parameters | name | default | unit | description | |---|---|---|---| | `a` | `10` | μm | Width of center conductor | | `b` | `6` | μm | Width of gap | | `r` | `100` | μm | Turn radius | | `width` | `1` | μm | Path width | | `spacing` | `1` | μm | Spacing between turns | | `turn_points` | `64` | – | Points per turn | | `metal` | `false` | – | Draw as metal (base_metal_addition) instead of etched | | `inner_r` | `1` | μm | Inner radius | | `outer_r` | `10` | μm | Outer radius | Electrically relevant parameters (sizes, gaps, junction, ports) come first, the rest follows. ## LOM model none (a LOM build gives each pin its own bare node, without elements). ## How to use In Python: ```python from quantcore_circuits.designer import Designer d = Designer("demo", box=(0, 0, 7500, 7500)) d.add("U1", "SpiralPath", at=(3750, 3750), a=10) # parameters: see the table above # no directed pin: place it with at= / rot=, or snap it with snap= / to= ``` Pin names go into `d.route(...)` as `INSTANCE.pin`, and into `snap=` / `to=` when placing. From the shell: `qcc components SpiralPath` 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 n/a (no directed port), build ok. no ports.