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 olderComps/Test_capacitor.py): a rectangular pad with a semicircular bite that wraps a qubit pad end, placed on a qubit pin.
Classes¶
Coupling pad with a semicircular bite, placed on a qubit pin (SQDMetal |
Module Contents¶
- class quantcore_circuits.layouts.others.sqdmetal_cells.SmoothCapacitorSemicircle¶
Bases:
kqcircuits.elements.element.ElementCoupling 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 (SQDMetalpin_inputs.start_pin) and porttargetthere 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, andorientationturns the drawing about the pin on top of that (SQDMetal applies both). Unrotated, therect_length×rect_widthpad lies along +x with its back edge at100 − rect_length − circle_offsetµm and a circle ofsemi_radiuscut out at x = 100 (SQDMetal shifts the drawing so the bite’s centre is 100 µm from the pin); the pad and thegap_back/gap_side/gap_frontclearance box are filleted withfillet_radius. The pad is metal onbase_metal_addition(it sits inside a qubit’s pocket), the clearance box minus the pad is etched.SQDMetal’s pin
asits inside the pad (x =gap_front+ the shift) with its normal towards the bite; itsResonatorMeanderPinPinleaves the pad from the back. Here portais on the pad’s back edge facing away from the bite,lead_lengthfurther with atrace_widthCPW lead (metal +bgaps), so a route starts on the pad; setlead_lengthto 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, elementb);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¶