quantcore_circuits.layouts.others.sqdmetal_cells

Cells re-implemented from sqdlab/SQDMetal (Apache-2.0, © Prasanna Pakkiam and the SQDMetal authors): the geometry is re-drawn here as KQC Elements in µm with pya (SQDMetal was read, never imported or run).

  • SmoothCapacitorSemicircle — SQDMetal/Comps/Capacitors.py::Smooth_Capacitor_Semicircle (the 2_transmons_wRes_comp notebook imports it from the older Comps/Test_capacitor.py): a rectangular pad with a semicircular bite that wraps a qubit pad end, placed on a qubit pin.

Classes

SmoothCapacitorSemicircle

Coupling pad with a semicircular bite, placed on a qubit pin (SQDMetal Smooth_Capacitor_Semicircle).

Module Contents

class quantcore_circuits.layouts.others.sqdmetal_cells.SmoothCapacitorSemicircle

Bases: kqcircuits.elements.element.Element

Coupling pad with a semicircular bite, placed on a qubit pin (SQDMetal Smooth_Capacitor_Semicircle).

Re-implemented from sqdlab/SQDMetal SQDMetal/Comps/Capacitors.py (Apache-2.0), same option names in µm. Frame: the origin is the target pin (SQDMetal pin_inputs.start_pin) and port target there faces −x — snap it to the qubit pin (snap="target", to="Q1.top_right_pin") to get SQDMetal’s placement: the cell is turned by the pin normal, and orientation turns the drawing about the pin on top of that (SQDMetal applies both). Unrotated, the rect_length × rect_width pad lies along +x with its back edge at 100 − rect_length − circle_offset µm and a circle of semi_radius cut out at x = 100 (SQDMetal shifts the drawing so the bite’s centre is 100 µm from the pin); the pad and the gap_back / gap_side / gap_front clearance box are filleted with fillet_radius. The pad is metal on base_metal_addition (it sits inside a qubit’s pocket), the clearance box minus the pad is etched.

SQDMetal’s pin a sits inside the pad (x = gap_front + the shift) with its normal towards the bite; its ResonatorMeanderPinPin leaves the pad from the back. Here port a is on the pad’s back edge facing away from the bite, lead_length further with a trace_width CPW lead (metal + b gaps), so a route starts on the pad; set lead_length to reach the pocket edge when the pad sits in a pocket.

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

Port a: the lead (trace_width, element b); target: a placement reference, not a CPW.

circle_offset
fillet_radius
fillet_resolution
gap_back
gap_front
gap_side
lead_length
orientation
qcc_category = 'capacitor'
rect_length
rect_width
semi_radius
trace_width