quantcore_circuits.layouts.others.cpwe¶
CPW-E cells (ported from the components/python/cpwe.py drawing library of the Glasgow group, used by the
pymacros/Cong macros: bond pads, the capacitively coupled λ/4 resonators, finger/gap capacitors, tapers, meanders).
The legacy library draws the CPW gaps (etched) with an implicit pen (x, y, ori) in nm (dbu 0.001); arcs are
KLayout Basic.ARC cells. CpwePen reproduces it call for call (same pya boxes, transforms and ARC
PCell), collecting the gaps in a Region. The cells below wrap one legacy function each, horizontal (ori='h'),
starting at the origin, with parameters in µm (a/b = legacy w/s):
CpweBondPad(b_pad): open end + wide line + taper; portaat the CPW end.CpweQuarterWaveResonator(quarter_cap_coupled): open coupler arm, bend, taper, meander, shorted end.CpweFingerCapacitor(finger_cap),CpweGapCapacitor(gap_cap),CpweFingerLine(finger_line),CpweTaper(tapper),CpweOpenEnd(term_open),CpweMeanderLine(meander_line; withlead= legacyquarter_wave).
Geometry → base_metal_gap_wo_grid. Ports face outward; CPW widths from the relevant w/s.
Classes¶
Bond pad: open end |
|
Interdigital capacitor interrupting the centre line (legacy |
|
CPW with interdigital fingers between centre line and ground on both sides (legacy |
|
Gap in the centre line (legacy |
|
Meandered CPW (legacy |
|
Open CPW termination (legacy |
|
The legacy |
|
λ/4 resonator capacitively coupled through an open-ended arm parallel to the feedline (legacy |
|
Taper from |
Functions¶
|
Legacy |
Module Contents¶
- class quantcore_circuits.layouts.others.cpwe.CpweBondPad¶
Bases:
_CpweBond pad: open end
tl, wide linebl(pad_width/pad_gap), taperbtlto the CPWa/b(legacycpwe.b_pad, horizontal). Portaat the CPW end facing +x (mirror: at the origin, −x). Refpointspad_centerandlumped_signal/lumped_ground(across the side gap at the pad centre: the simulation builder’s 50 Ω lumped port, as forBondPad).- build()¶
- end_length¶
- markers¶
- mirror¶
- pad_gap¶
- pad_length¶
- pad_width¶
- qcc_category = 'launcher'¶
- taper_length¶
- taper_type¶
- weight¶
- class quantcore_circuits.layouts.others.cpwe.CpweFingerCapacitor¶
Bases:
_CpweInterdigital capacitor interrupting the centre line (legacy
cpwe.finger_cap); portsa(−x),b.- build()¶
- finger_gap¶
- finger_length¶
- fingers¶
- qcc_category = 'capacitor'¶
- class quantcore_circuits.layouts.others.cpwe.CpweFingerLine¶
Bases:
_CpweCPW with interdigital fingers between centre line and ground on both sides (legacy
cpwe.finger_line); portsa(−x) andb(+x).- build()¶
- finger_gap¶
- finger_length¶
- finger_width¶
- fingers¶
- qcc_category = 'capacitor'¶
- class quantcore_circuits.layouts.others.cpwe.CpweGapCapacitor¶
Bases:
_CpweGap in the centre line (legacy
cpwe.gap_cap); portsa(−x),b(+x).- build()¶
- cap_gap¶
- qcc_category = 'capacitor'¶
- class quantcore_circuits.layouts.others.cpwe.CpweMeanderLine¶
Bases:
_CpweMeandered CPW (legacy
cpwe.meander_line; withlead> 0 it is legacycpwe.quarter_wave: lead, meander, lead). Starts at the origin going +x; portsa(start, −x) andb(end).- build()¶
- bias¶
- flip¶
- lead¶
- meander_length¶
- meander_radius¶
- meanders¶
- term_early¶
- class quantcore_circuits.layouts.others.cpwe.CpweOpenEnd¶
Bases:
_CpweOpen CPW termination (legacy
cpwe.term_open): the gap box oflength; portaat the origin (−x).- build()¶
- length¶
- qcc_category = 'termination'¶
- class quantcore_circuits.layouts.others.cpwe.CpwePen(dbu: float = 0.001)¶
The legacy
cpwefunctions, drawing intoself.region(dbu = nm) instead of the global current cell.- arc(x, y, ori, w, s, turn, start_angle, end_angle, m_radius, npoints)¶
- b_pad(x, y, ori, wb, sb, w, s, tl, bl, btl, t_type, weight, rev, mirror, markers)¶
- finger_cap(x, y, ori, w, s, f_sep, f_length, f_n, rev)¶
- finger_line(x, y, ori, w, s, f_sep, f_length, f_width, f_n, rev)¶
- gap_cap(x, y, ori, w, s, cap_sep, rev)¶
- line(x, y, ori, w, s, length, rev)¶
- marker(x, y)¶
- meander_line(x, y, ori, w, s, m_radius, m_length, m_bias, n, flip, term_early)¶
- quarter_cap_coupled(x, y, ori, w, s, wcap, scap, cap_len, cap_rad, t_len, m_radius, m_length, m_n, ex1, ex2, flip)¶
- tapper(x, y, ori, w_start, s_start, w_end, s_end, length, t_type, weight, rev)¶
- term_open(x, y, ori, w, s, length, rev)¶
- dbu = 0.001¶
- region¶
- class quantcore_circuits.layouts.others.cpwe.CpweQuarterWaveResonator¶
Bases:
_Cpweλ/4 resonator capacitively coupled through an open-ended arm parallel to the feedline (legacy
cpwe.quarter_cap_coupled): open end at the origin, coupler arm along x (cap_length, CPWcap_width/cap_gap), bend, taper to the resonator CPWa/b, meander, shorted end.Refpoints:
open_end(origin),short_end,coupler_center.qcc_resonator_length()gives the legacy returned length (µm, without the open-end box).- build()¶
- classmethod qcc_resonator_length(params: dict) float¶
Centre-line length from the open end to the short (legacy return value, without the open-end box), µm.
- cap_gap¶
- cap_length¶
- cap_radius¶
- cap_width¶
- excess_1¶
- excess_2¶
- flip¶
- meander_length¶
- meander_radius¶
- meanders¶
- qcc_category = 'resonator'¶
- taper_length¶
- class quantcore_circuits.layouts.others.cpwe.CpweTaper¶
Bases:
_CpweTaper from
a/btoa_end/b_end(legacycpwe.tapper: linear or exponential profiles).- build()¶
- classmethod qcc_port_widths(params: dict) dict¶
- a_end¶
- b_end¶
- length¶
- taper_type¶
- weight¶
- quantcore_circuits.layouts.others.cpwe.exp_pts(x_start, x_end, y_start, y_end, b, t_type, npts)¶
Legacy
draw.exp_pts(exponential taper profiles).