quantcore_circuits.layouts.qubits.qpdk_cells

Qubits re-implemented from gdsfactory/quantum-rf-pdk (QPDK, MIT licence, © the QPDK authors): the geometry is re-drawn here as KQC Elements in µm (QPDK was read, never imported or run).

  • Flipmon — qpdk/cells/transmon.py::flipmon_with_bbox (Li et al. 2021 vacuum-gap transmon): a circular two-face transmon, M1 inner disc + outer ring on the bottom chip, an M2 disc on the top chip joined to the inner disc by an indium bump; optionally with the plate_capacitor_single readout coupler that QPDK’s flipmon_with_resonator_and_probeline puts outside the ring.

  • Gatemon — qpdk/cells/gatemon.py::gatemon (Riechert et al. 2025 carbon-nanotube gatemon): a pocketed island with a gate feed; its readout couples through GatemonCoupler.

QPDK draws metal on M1_DRAW/M2_DRAW and etch on M1_ETCH/M2_ETCH and exports etch − draw; here that difference is drawn on base_metal_gap_wo_grid of face 0 (1t1, PDK v2 fab 1/0) and face 1 (2b1, the flip-chip top face, which PDK v2 does not export yet: export_fab warns). Indium bumps go to indium_bump of both faces (KQC convention).

Attributes

Classes

Flipmon

Circular flip-chip transmon (QPDK flipmon_with_bbox), optionally with its plate readout coupler.

Gatemon

Carbon-nanotube gatemon island in an etched pocket with a gate feed (QPDK gatemon), M1 only.

Module Contents

class quantcore_circuits.layouts.qubits.qpdk_cells.Flipmon

Bases: kqcircuits.qubits.qubit.Qubit

Circular flip-chip transmon (QPDK flipmon_with_bbox), optionally with its plate readout coupler.

Re-implemented from gdsfactory/quantum-rf-pdk qpdk/cells/transmon.py (MIT); coupler from qpdk/cells/capacitor.py::plate_capacitor_single as placed by flipmon_with_resonator_and_probeline. Centred at the origin. Face 0 (M1): inner disc of inner_circle_radius and a ring of centre radius outer_ring_radius and width outer_ring_width (QPDK ring = centre radius ± width / 2, so 80–140 µm at defaults), in an etched disc m1_etch_extension_gap beyond the ring. Face 1 (M2): a disc of top_circle_radius in an etched disc m2_etch_extension_gap larger. A bump_diameter indium bump at the centre joins the inner disc and the M2 disc (one island, port_squid_a side); the ring is the other island.

Junction: junction_type (KQC/Quantcore junction cell, "No Squid" = none) placed radially across the disc-ring gap at junction_position_rotation degrees (QPDK: 0 = +x; the test chip uses 180), ground side on the ring; junction_params (dict / JSON) goes to the junction cell. QPDK’s own evaporated squid_junction_long is not drawn (other process). Refpoints port_squid_a (disc edge) / port_squid_b (ring edge), junction, and QPDK’s placement ports inner_ring_near_junction, outer_ring_near_junction, outer_ring_outside (all at +x, as in QPDK).

Coupler (with_coupler): a coupler_width (radial) × coupler_length plate centred coupler_offset beyond the ring’s outer edge at +x, in a coupler_etch_margin etch box, with a CPW (a/b) lead to port coupler on the M1 etch edge (facing +x). QPDK’s plate port o1 is coupler_etch_margin beyond the plate, inside the etched disc; here the lead continues to the etch edge (13 µm further at defaults) so that a route starting at coupler is a CPW on ground — subtract that from QPDK’s route length.

build()
classmethod qcc_params(params: dict) → dict

design.json params → PCell params: junction_params dict → JSON. Unknown parameters raise.

bump_diameter
coupler_etch_margin
coupler_length
coupler_offset
coupler_width
inner_circle_radius
junction_params
junction_position_rotation
junction_type
m1_etch_extension_gap
m2_etch_extension_gap
n
outer_ring_radius
outer_ring_width
qcc_category = 'qubit'
top_circle_radius
with_coupler
class quantcore_circuits.layouts.qubits.qpdk_cells.Gatemon

Bases: kqcircuits.elements.element.Element

Carbon-nanotube gatemon island in an etched pocket with a gate feed (QPDK gatemon), M1 only.

Re-implemented from gdsfactory/quantum-rf-pdk qpdk/cells/gatemon.py (MIT), same parameters and checks, island centred at the origin with the readout side at +y. Drawn (M1): the island_size island, the pocket (pocket_gap to the side walls, pocket_gap_top above, down to 0.2 × electrode height below the lower contact pad), the M1 gate feed with its landing beside the hBN, and a gate_length CPW (a/b) out of the pocket to port gate (faces −y). Port readout is the island’s top edge (faces +y, a = island width, b = pocket_gap_top): snap it to a GatemonCoupler qubit port.

Process layers (draw_process_layers, on by default; GATEMON_LAYERS, proposed fab 600–604/0, not yet in the PDK map — design decision #29): the Nb/Au contacts (two electrode_size pads centred at electrode_offset, the upper one 0.85 × its height under the island, the lower one 0.8 × under the ground; lead_width stems down / up to the weak link and branches to junction_x, tips junction_length apart), the nanotube (junction_width × (junction_length + 2 · nanotube_contact_overlap) across the tips), the hBN flake (hbn_size from hbn_left, centred on the weak link), the Al reconnection patches (size_patch on each pad’s overlap with the M1) and the top gate (gate_tip_width strip from the weak link over the hBN onto the M1 gate landing, gate_tip_gap of overlap). These are re-drawn from QPDK’s derived coordinates (the QPDK source was not available locally for an XOR check). Refpoints: junction (the weak link), contact_island / contact_ground (pad centres), hbn (flake centre). The weak link joins the island to ground: port_squid_a is the island edge above the contact stems, port_squid_b the pocket’s ground edge below them (the M1 terminals of the contacts).

build()
classmethod qcc_port_widths(params: dict) → dict

readout is the island edge (a reference plane for the coupler), not a CPW end.

draw_process_layers
electrode_offset
electrode_size
electrode_spacing
gate_length
gate_offset
gate_tip_gap
gate_tip_width
hbn_size
island_size
junction_length
junction_offset
junction_width
lead_width
nanotube_contact_overlap
pocket_gap
pocket_gap_top
qcc_category = 'qubit'
size_patch
quantcore_circuits.layouts.qubits.qpdk_cells.GATEMON_LAYERS