quantcore_circuits.layouts.others.keepout¶
3/0 keep-out hooks (design rule, 2026-11-03): “3/0 comes from the bounding box extended … we are etching out the features built in 1/0 + a little extra so they don’t get shorted”.
quantcore_circuits.layouts.wafers.fab_export.keepout_region() asks each placed cell for
cls.qcc_keepout(pcell_params) -> [pya.DBox | pya.DPolygon] (local frame, µm); cells without the hook get the
bbox of their etch + a margin, routes their full CPW footprint + a margin. The cells below return the legacy 3/0
shape their QWri PCell drew (fab_l = 3/0, components/pymacros/QuantumPcells), golden-tested against the
legacy code (tests/test_keepout.py):
cell |
legacy 3/0 |
|---|---|
Xmon |
the cross grown by 2·claw_base + 10 + claw_finger_width ( |
CoupledResonator |
centre line (width a) grown by b + cgap ( |
QubitResonator |
centre line grown by 5 + b + 2 + cgap ( |
CoupledConnector |
centre line grown by 10 + b + 20 + cgap ( |
CpwResonator |
bbox of the CPW (+ coupling ring, start box) grown by a/2 + b + 15 in x, 35 in y
( |
CpwSegment |
bbox of conductor + drawn ground strips grown by |
ConnectorPad, BondPad |
the 1/0 etch grown by 50 µm in x ( |
CornerMarker |
the marker itself ( |
JunctionTestPads, |
the scripts’ own 3/0 pattern (pad structure, the other pad kept in the second metal; |
JunctionGroundPad |
|
Metal / KQC cells and the Quantcore cells without a legacy 3/0 (TwoPadTransmon, PadCoupler: the legacy PCells draw none) use the bbox rule — a rectangle around the etch, as the user describes for the two-pad transmons.
Attributes¶
Functions¶
|
A stand-in |
|
A dbu region → µm |
|
Schema defaults updated with |
Module Contents¶
- quantcore_circuits.layouts.others.keepout.as_cell(cls, params: dict | None) _StandIn¶
A stand-in
self(attributes = parameters,layout.dbu) for calling a cell’s geometry helpers.
- quantcore_circuits.layouts.others.keepout.dpolygons(region: kqcircuits.pya_resolver.pya.Region, dbu: float = DBU) list¶
A dbu region → µm
DPolygonobjects (merged).
- quantcore_circuits.layouts.others.keepout.full_params(cls, params: dict | None) dict¶
Schema defaults updated with
params(the hook may get a full PCell parameter set or a partial one).
- quantcore_circuits.layouts.others.keepout.DBU = 0.001¶