quantcore_circuits.layouts.others.test_pads

Junction test structures (ported from the QWri testPad*.py / xtp_testpads_TL_small.py scripts).

  • JunctionTestPads: two probe pads facing each other across a 20 µm junction window, with a trilayer junction (straight + bent finger) between the triangular pad tips. One class covers the four legacy scripts; legacy_test_pad_params() gives each script’s parameters (testPad_AVAQUS chips 01–02, testPad_Nb_TL chip 04, testPad_Nb_TL_HSQ chips 05/06/08, xtp_testpads_TL_small chip 10a).

  • JunctionGroundPad: one rounded 400 µm pad in a 500 µm etch window, joined to ground by a 50 µm bridge carrying the junction (legacy testPad.py, chips 01–02).

Frame: pad structure centred at the origin (legacy frame); the junction sits at the origin (JunctionGroundPad: at junction_y on the bridge). Layers (fab mode): legacy 1/0 → base_metal_gap_wo_grid, 2/0 (straight finger) → SIS_junction, 4/0 (bent finger) → SIS_junction_2, 500/0 → qcc hsq (+ the 51–53/0 spacer gradient, on by default: spacer_gradient_levels()). The legacy scripts also draw a separate 3/0 pattern (the other pad kept in the second metal); the Quantcore stack derives 3/0 from 1/0 at export, so it is not drawn — junction_test_pad_regions() / junction_ground_pad_regions() still return it ("m3"). No ports: these are probe structures; refpoints mark the pads and the junction.

Classes

JunctionGroundPad

Rounded probe pad joined to ground by a bridge carrying a trilayer junction (legacy testPad.py).

JunctionTestPads

Two probe pads with a trilayer junction between their tips (legacy testPad_* / xtp_testpads).

ProbePadPair

Probe-pad pair of the chip_11m junction test array (legacy chip_11m_TestJJ16x_pads.create_testPad, whose

Functions

junction_ground_pad_regions(dbu[, box_size, pad_size, ...]) → dict

Legacy testPad.create_testPad geometry in dbu: {"m1", "m3", "straight", "bent"} Regions.

junction_test_pad_regions(dbu[, upper_pad_width, ...]) → dict

Legacy create_testPad geometry in dbu: {"m1", "m3", "straight", "bent", "hsq"} Regions.

legacy_test_pad_params(variant[, size, second_finger]) → dict

JunctionTestPads parameters reproducing legacy <variant>.create_testPad(size, second_finger).

probe_pad_pair_regions(dbu[, pad_width, ...]) → dict

Legacy chip_11m_TestJJ16x_pads.create_testPad pads (commented out there), in dbu: {"m1", "m3"} —

Module Contents

class quantcore_circuits.layouts.others.test_pads.JunctionGroundPad

Bases: kqcircuits.elements.element.Element

Rounded probe pad joined to ground by a bridge carrying a trilayer junction (legacy testPad.py).

build()
classmethod qcc_keepout(params: dict) → list

3/0 keep-out (local µm): the legacy testPad.py 3/0 (the etch window minus the ground bridge).

box_size
bridge_width
corner_points
finger_width
junction_y
pad_r_inner
pad_r_outer
pad_size
qcc_category = 'test_structure'
second_finger_width
class quantcore_circuits.layouts.others.test_pads.JunctionTestPads

Bases: kqcircuits.elements.element.Element

Two probe pads with a trilayer junction between their tips (legacy testPad_* / xtp_testpads).

build()
classmethod qcc_keepout(params: dict) → list

3/0 keep-out (local µm): the legacy scripts’ own 3/0 pattern (m3: the pad structure, the other pad kept in the second metal).

bent_conn_height
bent_finger_length
bent_finger_x
bent_finger_y
bent_pad_width
box_extra
box_height
finger_origin
finger_width
hsq_extra_high
hsq_extra_low
hsq_overlap
hsq_width
hsq_y_offset
junction_height
junction_width
label
label_pos
label_size
lower_pad_height
lower_pad_trim
lower_pad_width
middle_height
qcc_category = 'test_structure'
second_finger_width
spacer_gradient
straight_finger_length
straight_finger_y
straight_pad_width
upper_pad_height
upper_pad_trim
upper_pad_width
with_hsq
class quantcore_circuits.layouts.others.test_pads.ProbePadPair

Bases: kqcircuits.elements.element.Element

Probe-pad pair of the chip_11m junction test array (legacy chip_11m_TestJJ16x_pads.create_testPad, whose pads are commented out there; chip_11f lands the JX_500 junctions on such pads).

A pad_width + window_extra × (pads + middle_height) window: the upper pad is kept in the base metal (1/0 = window − upper pad − its tip − the centre cutout), the lower pad in the second metal (the legacy 3/0 = window − lower pad − its tip − cut-out, returned by qcc_keepout()). At the legacy sizes the pads end middle_height / 2 (100 µm) from the junction, as drawn; set middle_height to the cut-out height (11 µm) to bring them to it. junction_type "Trilayer Junction Compact" (or any trilayer cell) places that junction centred in the cut-out (junction_params passed on, e.g. {"finger_width": 0.2, "lj_nH": …}; the compact junction’s 12 µm window overlaps the 11 µm cut-out by 0.5 µm per side, the “1 µm overlap” request). No ports (DC probe pads); refpoints junction, upper_pad, lower_pad.

build()
classmethod qcc_keepout(params: dict) → list

3/0 keep-out (local µm): the legacy script’s second-metal pattern (m3).

classmethod qcc_params(params: dict) → dict
cutout
junction_params
junction_type
lower_pad_height
middle_height
pad_trim
pad_width
qcc_category = 'test_structure'
upper_pad_height
window_extra
quantcore_circuits.layouts.others.test_pads.junction_ground_pad_regions(dbu, box_size=500, pad_size=400, pad_r_inner=40, pad_r_outer=20, corner_points=64, bridge_width=50, junction_y=-225, finger_width=0.26, second_finger_width=0.2, straight_finger_y=-2, straight_pad_width=1.2, straight_finger_length=3, straight_window=(52, 50), bent_finger_y=-4, bent_pad_width=1, bent_finger_length=3, bent_conn_height=0.5, bent_window=(52, 49), bent_offset=1) → dict

Legacy testPad.create_testPad geometry in dbu: {"m1", "m3", "straight", "bent"} Regions.

quantcore_circuits.layouts.others.test_pads.junction_test_pad_regions(dbu, upper_pad_width=500, upper_pad_height=400, lower_pad_width=500, lower_pad_height=400, middle_height=300, box_extra=100, box_height=0, upper_pad_trim=50, lower_pad_trim=50, junction_width=20, junction_height=20, finger_origin=5, finger_width=0.5, second_finger_width=0.6, straight_finger_y=-2.4, straight_pad_width=1.2, straight_finger_length=3, bent_finger_x=0.2, bent_finger_y=-3.4, bent_pad_width=1.6, bent_finger_length=3, bent_conn_height=0.5, with_hsq=True, hsq_width=0.2, hsq_overlap=0.045, hsq_y_offset=-0.85, hsq_extra_low=0.1, hsq_extra_high=0.2, label='', label_size=100, label_pos=(-140, 400)) → dict

Legacy create_testPad geometry in dbu: {"m1", "m3", "straight", "bent", "hsq"} Regions.

quantcore_circuits.layouts.others.test_pads.legacy_test_pad_params(variant: str, size: float = 1.0, second_finger: float = 0.0) → dict

JunctionTestPads parameters reproducing legacy <variant>.create_testPad(size, second_finger).

size is the legacy junction size (straight finger 0.2·size µm); second_finger the bent-finger width in µm (0 → same as the straight finger; the legacy scripts fail in that case).

quantcore_circuits.layouts.others.test_pads.probe_pad_pair_regions(dbu, pad_width=500.0, upper_pad_height=400.0, lower_pad_height=400.0, middle_height=200.0, window_extra=100.0, pad_trim=50.0, cutout=11.0, tip_width=5.0, tip_y=6.0, tip_apex=4.5) → dict

Legacy chip_11m_TestJJ16x_pads.create_testPad pads (commented out there), in dbu: {"m1", "m3"} — 1/0 = window − upper pad − its tip triangle − centre cut-out, 3/0 = window − lower pad − its triangle − cut-out.